projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05e534e
)
mesa: Fix GL_FIXED arrays.
author
Chia-I Wu
<olv@lunarg.com>
Thu, 9 Dec 2010 11:05:50 +0000
(19:05 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Thu, 9 Dec 2010 11:25:05 +0000
(19:25 +0800)
It is broken since
433e5e6defc85d8b1d6262aff990e3f5a8b37027
.
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index df1527b47f1b1ec899d58b615c92656e07618709..f9f2ed73077621c040606e665f42334d1a2376cb 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-154,6
+154,8
@@
_mesa_sizeof_type( GLenum type )
return sizeof(GLdouble);
case GL_HALF_FLOAT_ARB:
return sizeof(GLhalfARB);
+ case GL_FIXED:
+ return sizeof(GLfixed);
default:
return -1;
}