st/mesa: set correct baseInternalFormat for _mesa_texstore in DrawPixels
authorMarek Olšák <maraeo@gmail.com>
Fri, 13 May 2011 22:54:44 +0000 (00:54 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 13 May 2011 23:53:30 +0000 (01:53 +0200)
commitad2999d2113356d526b39774eb8114e974dac048
treeed79bd88d732db4650ac6d16a8249cdc09fa5cfe
parent2bba244329a6751d5ac07041874b2969b67fa8ee
st/mesa: set correct baseInternalFormat for _mesa_texstore in DrawPixels

GL_RGBA was always used for baseInternalFormat regardless of the chosen
texture internal format.

https://bugs.freedesktop.org/show_bug.cgi?id=37154

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_drawpixels.c