From: Brian Paul Date: Wed, 7 Oct 2009 01:01:43 +0000 (-0600) Subject: mesa: added case for MESA_FORMAT_SIGNED_RGBA_16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5b725489243e6a94ca5e31306cdfa93619bd200;p=mesa.git mesa: added case for MESA_FORMAT_SIGNED_RGBA_16 --- 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: