X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglcells.c;h=c312f0c2d6083405036065366610ad5ba860725e;hb=ff35d056d723c9a5ffe728dbba5f1c25e141be04;hp=0ec1af3f48e4ea8e91cb15f5efc766b2a0706088;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;p=xscreensaver diff --git a/hacks/glx/glcells.c b/hacks/glx/glcells.c index 0ec1af3f..c312f0c2 100644 --- a/hacks/glx/glcells.c +++ b/hacks/glx/glcells.c @@ -186,7 +186,7 @@ static argtype vars[] = { {&s_maxfood, "maxfood", "Max Food", DEF_MAXFOOD, t_Int}, {&s_pause, "pause", "Pause at end", DEF_PAUSE, t_Int}, {&s_divideage, "divideage", "Age for duplication (Ticks)", DEF_DIVIDEAGE, t_Int}, - {&s_min_dist, "mindist", "Minimum prefered distance to other cells", DEF_MINDIST, t_Float}, + {&s_min_dist, "mindist", "Minimum preferred distance to other cells", DEF_MINDIST, t_Float}, {&s_keepold, "keepold", "Keep old cells", DEF_KEEPOLD, t_Bool} }; @@ -1197,8 +1197,7 @@ reshape_glcells( ModeInfo *mi, int width, int height ) if (st->food) free( st->food ); st->food = (int *)malloc( ((width*height)/16)*sizeof(int) ); - - create_cells( st ); + /* create_cells( st );*/ } ENTRYPOINT void @@ -1222,6 +1221,10 @@ init_glcells( ModeInfo *mi ) st->num_cells = 0; st->wire = MI_IS_WIREFRAME(mi); +# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */ + st->wire = 0; +# endif + /* get settings */ st->max_cells = s_maxcells;; if (st->max_cells < 50) st->max_cells = 50;