summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-12-09 19:05:50 +0800
committerChia-I Wu <[email protected]>2010-12-09 19:25:05 +0800
commit2d270ac0904a1e3779906f7dbf493f31e5b3823b (patch)
tree37bb3055ed7ce416a33ffd34286ba50d1b23ad0f /src
parent05e534e6c4395269b1ca3a9694a1f437363dd186 (diff)
mesa: Fix GL_FIXED arrays.
It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index df1527b47f1..f9f2ed73077 100644
--- 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;
}