summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/drisw_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/drisw_glx.c
parente81ba58bf4c20229677cdf89b5970b55cefb2199 (diff)
glx/dri: only report DRI2 extensions when DRI2 is enabled.
Fixes bug 15477
Diffstat (limited to 'src/glx/x11/drisw_glx.c')
-rw-r--r--src/glx/x11/drisw_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c
index f7ff0011216..bcf7e144ef6 100644
--- a/src/glx/x11/drisw_glx.c
+++ b/src/glx/x11/drisw_glx.c
@@ -390,7 +390,7 @@ static __GLXDRIscreen *driCreateScreen(__GLXscreenConfigs *psc, int screen,
goto handle_error;
}
- driBindExtensions(psc);
+ driBindExtensions(psc, 0);
psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);