Mesa (9.1): Apple: glFlush() is not needed with CGLFlushDrawable()
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sat Jul 20 18:49:03 UTC 2013
Module: Mesa
Branch: 9.1
Commit: 226ea340d9a440be0577876e031ebd05ab0ce508
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=226ea340d9a440be0577876e031ebd05ab0ce508
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Sat Jul 20 10:25:28 2013 -0700
Apple: glFlush() is not needed with CGLFlushDrawable()
<rdar://problem/14496373>
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
(cherry picked from commit fa5ed99d8e809fb86e486a40273a4a6971055398)
---
src/glx/apple/apple_glx.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/glx/apple/apple_glx.c b/src/glx/apple/apple_glx.c
index 56cff64..4e2aa33 100644
--- a/src/glx/apple/apple_glx.c
+++ b/src/glx/apple/apple_glx.c
@@ -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);
}
More information about the mesa-commit
mailing list