X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fquasicrystal.c;h=e342b17f692724b7ef7110fd2a06f24f06de18ce;hb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;hp=d2d3f5c16b0b3c73c5787a9f9244bf2cb14ca375;hpb=d5186197bc394e10a4402f7f6d23fbb14103bc50;p=xscreensaver diff --git a/hacks/glx/quasicrystal.c b/hacks/glx/quasicrystal.c index d2d3f5c1..e342b17f 100644 --- a/hacks/glx/quasicrystal.c +++ b/hacks/glx/quasicrystal.c @@ -328,7 +328,9 @@ draw_quasicrystal (ModeInfo *mi) if (!wire) { glEnable (GL_TEXTURE_1D); - glEnable (GL_TEXTURE_2D); /* jwzgles needs this too, bleh. */ +# ifdef HAVE_JWZGLES + glEnable (GL_TEXTURE_2D); /* jwzgles needs this, bleh. */ +# endif } glEnable (GL_BLEND);