summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-06-16 16:57:59 +0200
committerIago Toral Quiroga <[email protected]>2014-06-20 09:50:54 +0200
commitec712bf4691ef7b8063eb5a55a1852b2eee283f0 (patch)
tree7bcc3ef2ef4f7ec2d062b9762f88be79c51681a9
parente974781301601f411c376f9a7f5574adf9f0238a (diff)
mesa: Init Geom.UsesEndPrimitive in shader programs.
Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/main/shaderobj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c
index b0f0bfa915b..5712c18d860 100644
--- a/src/mesa/main/shaderobj.c
+++ b/src/mesa/main/shaderobj.c
@@ -248,6 +248,7 @@ _mesa_init_shader_program(struct gl_context *ctx, struct gl_shader_program *prog
prog->Geom.VerticesOut = 0;
prog->Geom.InputType = GL_TRIANGLES;
prog->Geom.OutputType = GL_TRIANGLE_STRIP;
+ prog->Geom.UsesEndPrimitive = GL_FALSE;
prog->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS;