st/mesa: Use correct internal target
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Jun 2011 17:47:41 +0000 (18:47 +0100)
committerBrian Paul <brianp@vmware.com>
Wed, 29 Jun 2011 13:18:32 +0000 (07:18 -0600)
commit9b5c538726d279c79c1c74047fe19a6caab5321e
tree5b9223f7d3b84276a3aaf7b1bca9fb4f057376ab
parent5d2fad5444ebe0e2a66c49bd6254e2bc81618f6e
st/mesa: Use correct internal target

Commit 1a339b6c(st/mesa: prefer native texture formats when possible)
introduced two new arguments to the st_choose_format() functions.
This patch fixes the order and passes the correct internal_target
rather than GL_NONE

NOTE: This is a candidate for the 7.11 branch
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_drawpixels.c