diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index ea8eb0d3a7a..ed8d3d98217 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -531,6 +531,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog) gpc->VerticesOut = gp->VerticesOut; gpc->InputType = gp->InputType; gpc->OutputType = gp->OutputType; + gpc->UsesEndPrimitive = gp->UsesEndPrimitive; } break; default: