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:24 +0200
committerMarek Olšák <[email protected]>2013-07-30 23:31:28 +0200
commit0f6a7cb00c86fbdb415b01450bb1ece8cfe1e31d (patch)
tree33da25bd8026d511d0c4f08f65d4ff57e9a1a4b0 /src/gallium/state_trackers/osmesa/osmesa.c
parentab789393443629027dca16e0aad501d6c1c32cb0 (diff)
mesa,glsl,st/dri: add a new driconf option force_glsl_version for Unigine
See documentation in mtypes.h. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[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 594372bd725..5b63b8baf39 100644
--- a/src/gallium/state_trackers/osmesa/osmesa.c
+++ b/src/gallium/state_trackers/osmesa/osmesa.c
@@ -546,6 +546,7 @@ OSMesaCreateContextExt(GLenum format, GLint depthBits, GLint stencilBits,
attribs.options.disable_blend_func_extended = FALSE;
attribs.options.disable_glsl_line_continuations = FALSE;
attribs.options.force_s3tc_enable = FALSE;
+ attribs.options.force_glsl_version = 0;
osmesa_init_st_visual(&attribs.visual,
PIPE_FORMAT_R8G8B8A8_UNORM,