summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/x11/dri_common.c')
-rw-r--r--src/glx/x11/dri_common.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/glx/x11/dri_common.c b/src/glx/x11/dri_common.c
index a94c752194a..d1b77f308dd 100644
--- a/src/glx/x11/dri_common.c
+++ b/src/glx/x11/dri_common.c
@@ -390,12 +390,9 @@ dri2BindExtensions(__GLXscreenConfigs *psc)
}
#endif
-#ifdef __DRI2_MEDIA_STREAM_COUNTER
- if (strcmp(extensions[i]->name, __DRI2_MEDIA_STREAM_COUNTER) == 0) {
- psc->msc = (__DRI2mediaStreamCounterExtension *) extensions[i];
- __glXEnableDirectExtension(psc, "GLX_SGI_video_sync");
- }
-#endif
+ __glXEnableDirectExtension(psc, "GLX_SGI_video_sync");
+ __glXEnableDirectExtension(psc, "GLX_SGI_swap_control");
+ __glXEnableDirectExtension(psc, "GLX_MESA_swap_control");
#ifdef __DRI2_FLUSH
if ((strcmp(extensions[i]->name, __DRI2_FLUSH) == 0)) {