summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/osmesa/osmesa.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-07-30 22:29:16 +0200
committerMarek Olšák <[email protected]>2013-07-30 23:31:23 +0200
commit2acc27cc6de5cae395d19017daf86ddd8de704cf (patch)
tree44ae11f723f56d0a02b61793214bb1ca99c78ac7 /src/gallium/state_trackers/osmesa/osmesa.c
parent71e0b5d688e8442c4c19d905db84caad94314d5e (diff)
st/dri: support the driconf option disable_blend_func_extended
This is needed for Unigine. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/osmesa/osmesa.c')
-rw-r--r--src/gallium/state_trackers/osmesa/osmesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/state_trackers/osmesa/osmesa.c
index 548e3ad12e5..5908316dc81 100644
--- a/src/gallium/state_trackers/osmesa/osmesa.c
+++ b/src/gallium/state_trackers/osmesa/osmesa.c
@@ -543,6 +543,7 @@ OSMesaCreateContextExt(GLenum format, GLint depthBits, GLint stencilBits,
attribs.minor = 1;
attribs.flags = 0; /* ST_CONTEXT_FLAG_x */
attribs.options.force_glsl_extensions_warn = FALSE;
+ attribs.options.disable_blend_func_extended = FALSE;
attribs.options.disable_glsl_line_continuations = FALSE;
osmesa_init_st_visual(&attribs.visual,