st/osmesa: initialize disable_glsl_line_continuations
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Jul 2013 20:29:15 +0000 (22:29 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 30 Jul 2013 21:31:22 +0000 (23:31 +0200)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/osmesa/osmesa.c

index 31a4dceb04c26205e37349d9caf12d32dc08f67c..548e3ad12e50c0d9ea538a0564499d61870e3128 100644 (file)
@@ -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_glsl_line_continuations = FALSE;
 
    osmesa_init_st_visual(&attribs.visual,
                          PIPE_FORMAT_R8G8B8A8_UNORM,