mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 15:20:26 +01:00
mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
ec712bf469
commit
96a95f48ea
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue