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>
(cherry picked from commit 96a95f48ea)
This commit is contained in:
Iago Toral Quiroga 2014-06-16 17:00:15 +02:00 committed by Carl Worth
parent d947156407
commit c2dc58fe96

View file

@ -531,6 +531,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog)
gpc->VerticesOut = gp->VerticesOut;
gpc->InputType = gp->InputType;
gpc->OutputType = gp->OutputType;
gpc->UsesEndPrimitive = gp->UsesEndPrimitive;
}
break;
default: