From 6cffdb1ca0ae0f60a77dfc070a5685f014e35438 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Wed, 8 Aug 2012 11:30:42 -0700 Subject: Set es_version to false when using FF fragment shading in meta ops Reviewed-by: Kenneth Graunke Reviewed-by: Eric Anholt --- src/mesa/main/ff_fragment_shader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main') diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp index 3a80ab7f3b7..02b4707f078 100644 --- a/src/mesa/main/ff_fragment_shader.cpp +++ b/src/mesa/main/ff_fragment_shader.cpp @@ -1309,6 +1309,7 @@ create_new_program(struct gl_context *ctx, struct state_key *key) p.shader_program->InternalSeparateShader = GL_TRUE; state->language_version = 130; + state->es_shader = false; if (ctx->Extensions.OES_EGL_image_external) state->OES_EGL_image_external_enable = true; _mesa_glsl_initialize_types(state); -- cgit v1.2.3