[Mesa-dev] [PATCH v2 23/23] mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.
Iago Toral Quiroga
itoral at igalia.com
Wed Jun 18 02:51:50 PDT 2014
---
src/mesa/program/program.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index 1263cea..aedce3e 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;
gpc->UsesStreams = gp->UsesStreams;
}
break;
--
1.9.1
More information about the mesa-dev
mailing list