diff options
author | Roland Scheidegger <[email protected]> | 2009-03-28 01:19:49 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-03-28 02:06:40 +0100 |
commit | 02a579f2e7abc832dd46956048d1116f7dc3dd92 (patch) | |
tree | ae80b9840e9097b6fab307736a541537efdf38d4 /src/mesa/main/texformat.c | |
parent | 79e2df63af4d231a1223887e79a819b3baac9a6c (diff) |
mesa: fix a glGetTexImage issue with base-converted texture formats
need to respect the user-supplied base format, not the one derived from
the texture format actually used.
Diffstat (limited to 'src/mesa/main/texformat.c')
-rw-r--r-- | src/mesa/main/texformat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c index ee531c45c69..0d60e5ebd34 100644 --- a/src/mesa/main/texformat.c +++ b/src/mesa/main/texformat.c @@ -382,6 +382,7 @@ const struct gl_texture_format _mesa_texformat_sl8 = { store_texel_sl8 /* StoreTexel */ }; +/* Note: this format name looks like a misnomer, make it sal8? */ const struct gl_texture_format _mesa_texformat_sla8 = { MESA_FORMAT_SLA8, /* MesaFormat */ GL_LUMINANCE_ALPHA, /* BaseFormat */ |