X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fnoof.c;h=ee2810b36b7b214e51027f7f8454e49af8af5012;hb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;hp=69b67d22475e3bb66016c69ef5faafb170abaeb7;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7;p=xscreensaver diff --git a/hacks/glx/noof.c b/hacks/glx/noof.c index 69b67d22..ee2810b3 100644 --- a/hacks/glx/noof.c +++ b/hacks/glx/noof.c @@ -445,6 +445,10 @@ init_noof (ModeInfo *mi) int i; noof_configuration *bp; +#ifdef HAVE_JWZGLES + dbuf_p = 1; +#endif + if (!bps) { bps = (noof_configuration *) calloc (MI_NUM_SCREENS(mi), sizeof (noof_configuration)); @@ -459,7 +463,6 @@ init_noof (ModeInfo *mi) bp->glx_context = init_GL(mi); glDrawBuffer(dbuf_p ? GL_BACK : GL_FRONT); - glClearColor(0.0, 0.0, 0.0, 1.0); glEnable(GL_LINE_SMOOTH); glShadeModel(GL_FLAT); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);