Skip to content
Snippets Groups Projects
Commit 9577327e authored by Brian Paul's avatar Brian Paul Committed by Ian Romanick
Browse files

meta: move vertex array enables for mipmap generation

Before, on the second call to GenerateMipmap we were enabling two
vertex arrays for the current vertex array object, rather than
the private generate-mipmap vertex array object.  This caused
things to blow up elsewhere.

This patch moves the array enables into the block where the
generate-mipmap vertex array object is created, as we do in
the setup_ff_generate_mipmap() function.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60518


NOTE: This is a candidate for the stable branches.

Tested-by: default avatar <core13@gmx.net>
Reviewed-by: default avatarJosé Fonseca <jfonseca@vmware.com>
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
(cherry picked from commit dcc5b6bf)
parent 6a89456a
No related branches found
No related tags found
No related merge requests found
Loading
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