OSDN Git Service

mesa: don't use _mesa_base_tex_format for format parameter of GetTexImage
authorMarek Olšák <maraeo@gmail.com>
Wed, 6 Feb 2013 21:31:44 +0000 (22:31 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 11 Feb 2013 18:43:01 +0000 (19:43 +0100)
commit09a99867abcc65e208959995c794457da6193967
tree71f581f711c9d403b69b5d7553d4cd7fa27a878e
parent5587c8619a5501181fc47df53cc4bbdac1576b41
mesa: don't use _mesa_base_tex_format for format parameter of GetTexImage

_mesa_base_tex_format doesn't accept GL_BGR and GL_ABGR_EXT, etc.

v2: add a (now hopefully complete) helper function to deal with this

NOTE: This is a candidate for the stable branches.

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