summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_texture.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-03 13:04:29 -0600
committerBrian Paul <brianp@vmware.com>2010-05-03 13:10:27 -0600
commit529b7b355d392b1534ccd8ff7b428dc21cbfdc21 (patch)
tree7a1cd79812db9e42e1b5c73153313e1a4358558d /src/mesa/state_tracker/st_texture.c
parentac6a26b429d70395cf6def04d2d9c8cf1bd2c964 (diff)
st/mesa: restore original last_layer comparison
Commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 changed the original less-than test to a not-equal test. This was an effort to save some memory by switching the texture layout to a non-mipmapped layout when we mis-guessed about the original layout (thus saving some memory). However, this causes us to hit a new (apparently broken) code path when copying the old texture's data to the new texture. Simply undo this change for the time being until the other/new bug is fixed. Fixes fd.o bug 27933.
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
0 files changed, 0 insertions, 0 deletions