summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri_common.h
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_common.h
parente81ba58bf4c20229677cdf89b5970b55cefb2199 (diff)
glx/dri: only report DRI2 extensions when DRI2 is enabled.
Fixes bug 15477
Diffstat (limited to 'src/glx/x11/dri_common.h')
-rw-r--r--src/glx/x11/dri_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/dri_common.h b/src/glx/x11/dri_common.h
index 3556510335a..15f6cc87b9f 100644
--- a/src/glx/x11/dri_common.h
+++ b/src/glx/x11/dri_common.h
@@ -55,6 +55,6 @@ extern void ErrorMessageF(const char *f, ...);
extern void *driOpenDriver(const char *driverName);
-extern void driBindExtensions(__GLXscreenConfigs *psc);
+extern void driBindExtensions(__GLXscreenConfigs *psc, int dri2);
#endif /* _DRI_COMMON_H */