aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri2_glx.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2008-07-13 19:00:46 +1000
committerDave Airlie <[email protected]>2008-07-13 19:00:46 +1000
commit4fab47b13c214dc79e0ae5d8001521029ce34231 (patch)
tree5cef140eea4f1956cda116809cf4af511a092896 /src/glx/x11/dri2_glx.c
parente81ba58bf4c20229677cdf89b5970b55cefb2199 (diff)
glx/dri: only report DRI2 extensions when DRI2 is enabled.
Fixes bug 15477
Diffstat (limited to 'src/glx/x11/dri2_glx.c')
-rw-r--r--src/glx/x11/dri2_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/dri2_glx.c b/src/glx/x11/dri2_glx.c
index b679c72c103..0be65bce624 100644
--- a/src/glx/x11/dri2_glx.c
+++ b/src/glx/x11/dri2_glx.c
@@ -308,7 +308,7 @@ static __GLXDRIscreen *dri2CreateScreen(__GLXscreenConfigs *psc, int screen,
return NULL;
}
- driBindExtensions(psc);
+ driBindExtensions(psc, 1);
psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);