diff options
author | Brian Paul <brianp@vmware.com> | 2011-05-25 18:07:33 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-05-25 18:07:35 -0600 |
commit | bf14ab417c6638afd19206e11ee69bdb9fb93d9e (patch) | |
tree | 3175d8342252bfa63e1684f133d5198c3f0a3ab9 /src/mesa/state_tracker/st_atom_pixeltransfer.c | |
parent | 1697dac64294aab73052541dab6763d660d088dc (diff) | |
download | external_mesa3d-bf14ab417c6638afd19206e11ee69bdb9fb93d9e.zip external_mesa3d-bf14ab417c6638afd19206e11ee69bdb9fb93d9e.tar.gz external_mesa3d-bf14ab417c6638afd19206e11ee69bdb9fb93d9e.tar.bz2 |
st/mesa: fix incorrect texture level/face/slice accesses
If we use FBOs to access mipmap levels with glRead/Draw/CopyPixels()
we need to be sure to access the correct mipmap level/face/slice.
Before, we were just passing zero in quite a few places.
This fixes the new piglit fbo-mipmap-copypix test.
NOTE: This is a candidate for the 7.10 branch.
Diffstat (limited to 'src/mesa/state_tracker/st_atom_pixeltransfer.c')
0 files changed, 0 insertions, 0 deletions