X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fnoof.c;h=a10d685ea5467e67f5d54db333476c29632521e8;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hp=69b67d22475e3bb66016c69ef5faafb170abaeb7;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7;p=xscreensaver diff --git a/hacks/glx/noof.c b/hacks/glx/noof.c index 69b67d22..a10d685e 100644 --- a/hacks/glx/noof.c +++ b/hacks/glx/noof.c @@ -17,6 +17,7 @@ "*showFPS: False \n" \ "*fpsSolid: True \n" \ "*doubleBuffer: False \n" \ + "*suppressRotationAnimation: True\n" \ # define refresh_noof 0 # define release_noof 0 @@ -27,9 +28,7 @@ #define N_SHAPES 7 -/* For some reason this hack screws up on Cocoa if we try to double-buffer it. - It looks fine single-buffered, so let's just do that. */ -static int dbuf_p = 0; +static int dbuf_p = 1; /* always */ ENTRYPOINT ModeSpecOpt noof_opts = {0, NULL, 0, NULL, NULL}; @@ -459,7 +458,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);