st/mesa: fix gallium texture level selection for RTT
authorBrian Paul <brianp@vmware.com>
Thu, 11 Feb 2010 16:40:49 +0000 (09:40 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Feb 2010 16:40:52 +0000 (09:40 -0700)
commit6352f4c854e9ec39c440054109ccb92caa5ff0bb
tree0140a9a7f4c20f9ad9301592777de44ebcba6b09
parent3c28fad20ba16f81f6fa34096fc23c9e245e0ca8
st/mesa: fix gallium texture level selection for RTT

Fixes invalid texture level when rendering to a texture where
GL_BASE_LEVEL > 0.

This will be cherry-picked to the 7.7 branch after additional
testing.
src/mesa/state_tracker/st_cb_fbo.c