Skip to content
Snippets Groups Projects
Commit 96a95f48 authored by Iago Toral's avatar Iago Toral
Browse files

mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.


Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
parent ec712bf4
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment