[Mesa-dev] [PATCH] mesa: Preserve the NewArrays state when copying a VAO
Brian Paul
brianp at vmware.com
Tue Feb 11 11:19:55 PST 2014
On 02/11/2014 10:26 AM, Fredrik Höglund wrote:
> Cc: "10.1" "10.0" <mesa-stable at lists.freedesktop.org>
>
> Bugzilla: https://urldefense.proofpoint.com/v1/url?u=https://bugs.freedesktop.org/show_bug.cgi?id%3D72895&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0A&m=lVIxA0g34qfgRkd6wwbCsac%2BEERhA45TD1y7NCTdvnM%3D%0A&s=4872baef00c2df6e52094080c11ec488dc9986fffb8992fedc30138eec3b6e01
> ---
> src/mesa/main/attrib.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
> index 0045280..5a626f2 100644
> --- a/src/mesa/main/attrib.c
> +++ b/src/mesa/main/attrib.c
> @@ -1457,6 +1457,7 @@ copy_array_object(struct gl_context *ctx,
>
> /* _Enabled must be the same than on push */
> dest->_Enabled = src->_Enabled;
> + dest->NewArrays = src->NewArrays;
> dest->_MaxElement = src->_MaxElement;
> }
>
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list