[Mesa-dev] [PATCH 6/8] st/dri: add force_glsl_extensions_warn option to dri configuration
Vadim Girlin
vadimgirlin at gmail.com
Mon Apr 9 08:32:37 PDT 2012
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---
src/gallium/state_trackers/dri/common/dri_screen.c | 11 ++++++++++-
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 24efbde..3c6d24b 100644
--- a/src/gallium/state_trackers/dri/common/dri_screen.c
+++ b/src/gallium/state_trackers/dri/common/dri_screen.c
@@ -41,6 +41,8 @@
#include "util/u_debug.h"
+#undef false
+
PUBLIC const char __driConfigOptions[] =
DRI_CONF_BEGIN
DRI_CONF_SECTION_PERFORMANCE
@@ -58,9 +60,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,
--
1.7.7.6
More information about the mesa-dev
mailing list