gallium: fix st_choose_format(internalFormat=GL_RGBA16)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Jul 2008 16:35:32 +0000 (10:35 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Jul 2008 16:35:32 +0000 (10:35 -0600)
commita3de65659cf07420363c91ae38dd61468f122ef0
treee45e94e8635caa2b520fcfb64b1813b2e45a033d
parent2fa7b3f78639114aec42fcbbfc29d3645832708b
gallium: fix st_choose_format(internalFormat=GL_RGBA16)

Need to check if we're choosing a surface or texture format.
src/mesa/state_tracker/st_format.c