summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-06 19:01:43 -0600
committerBrian Paul <[email protected]>2009-10-06 19:01:43 -0600
commitc5b725489243e6a94ca5e31306cdfa93619bd200 (patch)
treea507ab49b0acae1bcd0cca326f5baeb88b079a33 /src/mesa/main
parentc13b9a141d77845517bf7cab20cff6115c31e67d (diff)
mesa: added case for MESA_FORMAT_SIGNED_RGBA_16
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/formats.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index a1a8ea88359..483f993a752 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -879,6 +879,10 @@ _mesa_format_to_type_and_comps(gl_format format,
*datatype = GL_BYTE;
*comps = 4;
return;
+ case MESA_FORMAT_SIGNED_RGBA_16:
+ *datatype = GL_SHORT;
+ *comps = 4;
+ return;
#if FEATURE_EXT_texture_sRGB
case MESA_FORMAT_SRGB8: