From: Iago Toral Quiroga Date: Mon, 16 Jun 2014 15:00:15 +0000 (+0200) Subject: mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96a95f48eaf8af2c6ace51531bdd5bfbcf71165e;p=mesa.git mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program. Reviewed-by: Ian Romanick Cc: "10.1 10.2" --- diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index b7332fccf30..988def1a348 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -552,6 +552,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog) gpc->InputType = gp->InputType; gpc->Invocations = gp->Invocations; gpc->OutputType = gp->OutputType; + gpc->UsesEndPrimitive = gp->UsesEndPrimitive; } break; default: