summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri_common.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/dri_common.c
parentbecf3d927255385592c8c6659c4555cf2dd2842d (diff)
glFlush before CopySubBuffer, fix coordinates and extension name typo.
Diffstat (limited to 'src/glx/x11/dri_common.c')
-rw-r--r--src/glx/x11/dri_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/dri_common.c b/src/glx/x11/dri_common.c
index fcb579f3bf8..4fda649e59a 100644
--- a/src/glx/x11/dri_common.c
+++ b/src/glx/x11/dri_common.c
@@ -340,7 +340,7 @@ driBindExtensions(__GLXscreenConfigs *psc, int dri2)
#ifdef __DRI_COPY_SUB_BUFFER
if (strcmp(extensions[i]->name, __DRI_COPY_SUB_BUFFER) == 0) {
psc->driCopySubBuffer = (__DRIcopySubBufferExtension *) extensions[i];
- __glXEnableDirectExtension(psc, "GLX_MESA_copy_sub_buffer_bit");
+ __glXEnableDirectExtension(psc, "GLX_MESA_copy_sub_buffer");
}
#endif