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 <vadimgirlin@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user