diff options
author | Iago Toral Quiroga <[email protected]> | 2014-06-16 17:00:15 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2014-06-20 09:50:54 +0200 |
commit | 96a95f48eaf8af2c6ace51531bdd5bfbcf71165e (patch) | |
tree | 2447d4c84a4cfb12b7111ddea0685d1f7e76bef8 /src/mesa/program/program.c | |
parent | ec712bf4691ef7b8063eb5a55a1852b2eee283f0 (diff) |
mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.
Reviewed-by: Ian Romanick <[email protected]>
Cc: "10.1 10.2" <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |