projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7627c7f
)
mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug #19390)
author
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 6 Jan 2009 07:30:34 +0000
(15:30 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 6 Jan 2009 07:34:51 +0000
(15:34 +0800)
src/mesa/main/texformat.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texformat.c
b/src/mesa/main/texformat.c
index
4442ce3
..
1dd7bdd
100644
(file)
--- a/
src/mesa/main/texformat.c
+++ b/
src/mesa/main/texformat.c
@@
-1641,7
+1641,7
@@
_mesa_format_to_type_and_comps(const struct gl_texture_format *format,
case MESA_FORMAT_ARGB1555:
case MESA_FORMAT_ARGB1555_REV:
*datatype = GL_UNSIGNED_SHORT_1_5_5_5_REV;
- *comps =
3
;
+ *comps =
4
;
return;
case MESA_FORMAT_AL88: