summaryrefslogtreecommitdiffstats
path: root/src/util/xmlpool
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-09-12 10:52:06 +1000
committerTimothy Arceri <[email protected]>2018-09-18 19:34:54 +1000
commit64ec50d52fa691cc1712df1d7eebea90552b7c2e (patch)
tree8d8003d52902314cc05725b076697d9ed0d5622c /src/util/xmlpool
parent7a992fcfa059b0db0f07bc3eb38050eaab7aaf34 (diff)
mesa/st: add force_compat_profile option to driconfig
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/xmlpool')
-rw-r--r--src/util/xmlpool/t_options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h
index b6f7eed80b1..446674b46ab 100644
--- a/src/util/xmlpool/t_options.h
+++ b/src/util/xmlpool/t_options.h
@@ -140,6 +140,11 @@ DRI_CONF_OPT_BEGIN_B(allow_glsl_layout_qualifier_on_function_parameters, def) \
DRI_CONF_DESC(en,gettext("Allow layout qualifiers on function parameters.")) \
DRI_CONF_OPT_END
+#define DRI_CONF_FORCE_COMPAT_PROFILE(def) \
+DRI_CONF_OPT_BEGIN_B(force_compat_profile, def) \
+ DRI_CONF_DESC(en,gettext("Force an OpenGL compatibility context")) \
+DRI_CONF_OPT_END
+
/**
* \brief Image quality-related options
*/