Add gfxSetDoubleBuffering() for disabling double-buffering