summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxcmds.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-11-12 15:24:45 -0500
committerKristian Høgsberg <[email protected]>2008-11-12 15:26:25 -0500
commite1fbb30211549f2ee79d8ff9764f833e5317bebe (patch)
tree45cef4629d728dab83edc2c4949940fbcc8c44dc /src/glx/x11/glxcmds.c
parentbecf3d927255385592c8c6659c4555cf2dd2842d (diff)
glFlush before CopySubBuffer, fix coordinates and extension name typo.
Diffstat (limited to 'src/glx/x11/glxcmds.c')
-rw-r--r--src/glx/x11/glxcmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c
index 4e2641bd696..391e0be05e7 100644
--- a/src/glx/x11/glxcmds.c
+++ b/src/glx/x11/glxcmds.c
@@ -2500,6 +2500,7 @@ static void __glXCopySubBufferMESA(Display *dpy, GLXDrawable drawable,
if ( pdraw != NULL ) {
__GLXscreenConfigs * const psc = GetGLXScreenConfigs(dpy, screen);
if (psc->driScreen->copySubBuffer != NULL) {
+ glFlush();
(*psc->driScreen->copySubBuffer)(pdraw, x, y, width, height);
}