summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/ff_fragment_shader.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-06-02 18:06:17 -0600
committerBrian Paul <[email protected]>2013-06-02 18:06:17 -0600
commitdcc5b6bfb79261779d85325239d75a2e1f3bec37 (patch)
treed1251041e368f1ae90e45873b4ab3f5647bb939e /src/mesa/main/ff_fragment_shader.cpp
parent8588350dc0fcc124cf3e8104965d8525033e3201 (diff)
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: [email protected] Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/ff_fragment_shader.cpp')
0 files changed, 0 insertions, 0 deletions