projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c13b9a1
)
mesa: added case for MESA_FORMAT_SIGNED_RGBA_16
author
Brian Paul
<brianp@vmware.com>
Wed, 7 Oct 2009 01:01:43 +0000
(19:01 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 7 Oct 2009 01:01:43 +0000
(19:01 -0600)
src/mesa/main/formats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formats.c
b/src/mesa/main/formats.c
index a1a8ea88359c16e1fa48d70e27e68af5565a37a2..483f993a752a97a369e3ed1c2d5a6e9a3cee368f 100644
(file)
--- 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: