From ec712bf4691ef7b8063eb5a55a1852b2eee283f0 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Mon, 16 Jun 2014 16:57:59 +0200 Subject: [PATCH] mesa: Init Geom.UsesEndPrimitive in shader programs. Reviewed-by: Ian Romanick --- src/mesa/main/shaderobj.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2