From 64ec50d52fa691cc1712df1d7eebea90552b7c2e Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 12 Sep 2018 10:52:06 +1000 Subject: mesa/st: add force_compat_profile option to driconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/util/xmlpool/t_options.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/util') 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 */ -- cgit v1.2.3