Apple: glFlush() is not needed with CGLFlushDrawable()
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>
Sat, 20 Jul 2013 17:25:28 +0000 (10:25 -0700)
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>
Sat, 20 Jul 2013 17:25:28 +0000 (10:25 -0700)
<rdar://problem/14496373>

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
src/glx/apple/apple_glx.c

index 56cff64a15be7408104c91350a0167117d2a997f..4e2aa33e59f06268b8ff10ed5955458646f2f18a 100644 (file)
@@ -132,8 +132,6 @@ apple_glx_swap_buffers(void *ptr)
 {
    struct apple_glx_context *ac = ptr;
 
-   /* This may not be needed with CGLFlushDrawable: */
-   glFlush();
    apple_cgl.flush_drawable(ac->context_obj);
 }