Mesa (8.0): Apple: glFlush() is not needed with CGLFlushDrawable()
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sat Jul 20 18:48:30 UTC 2013
Module: Mesa
Branch: 8.0
Commit: 9c50093adff0c7531ab32a7ec9ce3b91712b4d20
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c50093adff0c7531ab32a7ec9ce3b91712b4d20
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