#define DEFAULTS "*delay: 10000 \n" \
"*showFPS: False \n" \
"*fpsSolid: True \n" \
+ "*doubleBuffer: False \n" \
+ "*suppressRotationAnimation: True\n" \
# define refresh_noof 0
# define release_noof 0
#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};
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);