summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/common
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-04-12 04:28:52 +0400
committerVadim Girlin <[email protected]>2012-08-23 19:57:51 +0400
commit44f69fc82518d343733c77905cf9b9963fe102e4 (patch)
tree957c15e4c29259b7ff7f1db4ffc8cb10b89d94fd /src/gallium/state_trackers/dri/common
parente7c177ec9e37d0c406c3b0ef8f228159d7ee5d69 (diff)
st/dri: add force_glsl_extensions_warn option to dri options
Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/common')
-rw-r--r--src/gallium/state_trackers/dri/common/dri_screen.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c
index e581a74685a..102a1326133 100644
--- a/src/gallium/state_trackers/dri/common/dri_screen.c
+++ b/src/gallium/state_trackers/dri/common/dri_screen.c
@@ -43,6 +43,8 @@
#define MSAA_VISUAL_MAX_SAMPLES 8
+#undef false
+
PUBLIC const char __driConfigOptions[] =
DRI_CONF_BEGIN
DRI_CONF_SECTION_PERFORMANCE
@@ -60,9 +62,16 @@ PUBLIC const char __driConfigOptions[] =
DRI_CONF_PP_JIMENEZMLAA(0, 0, 32)
DRI_CONF_PP_JIMENEZMLAA_COLOR(0, 0, 32)
DRI_CONF_SECTION_END
+
+ DRI_CONF_SECTION_DEBUG
+ DRI_CONF_FORCE_GLSL_EXTENSIONS_WARN(false)
+ DRI_CONF_SECTION_END
+
DRI_CONF_END;
-static const uint __driNConfigOptions = 9;
+#define false 0
+
+static const uint __driNConfigOptions = 10;
static const __DRIconfig **
dri_fill_in_modes(struct dri_screen *screen,