summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri_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/dri_glx.c
parente81ba58bf4c20229677cdf89b5970b55cefb2199 (diff)
glx/dri: only report DRI2 extensions when DRI2 is enabled.
Fixes bug 15477
Diffstat (limited to 'src/glx/x11/dri_glx.c')
-rw-r--r--src/glx/x11/dri_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index d53f2d98541..82653f1625b 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -635,7 +635,7 @@ static __GLXDRIscreen *driCreateScreen(__GLXscreenConfigs *psc, int screen,
return NULL;
}
- driBindExtensions(psc);
+ driBindExtensions(psc, 0);
psp->destroyScreen = driDestroyScreen;
psp->createContext = driCreateContext;