diff options
author | Vadim Girlin <[email protected]> | 2012-04-12 04:30:03 +0400 |
---|---|---|
committer | Vadim Girlin <[email protected]> | 2012-08-23 19:57:51 +0400 |
commit | a6457c0692f1bc292ae4120ff5cd0bed340271b9 (patch) | |
tree | 580e502cbf177ce420357d0266c9687d20cb4ed1 /src/mesa/state_tracker/st_extensions.c | |
parent | 44f69fc82518d343733c77905cf9b9963fe102e4 (diff) |
st/mesa: accept and handle configuration options from st/dri
Currently there is a single option - force_glsl_extensions_warn.
Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 2f034cb2887..5e482d9f76a 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -646,4 +646,6 @@ void st_init_extensions(struct st_context *st) ctx->Extensions.ARB_draw_instanced) { ctx->Extensions.ARB_transform_feedback_instanced = GL_TRUE; } + if (st->options.force_glsl_extensions_warn) + ctx->Const.ForceGLSLExtensionsWarn = 1; } |