summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-03 14:12:27 -0600
committerKeith Whitwell <[email protected]>2008-09-21 22:13:56 -0700
commit48cba703fa6fdbe2ad34770d54aeafdd01493f27 (patch)
treeb79fdb11d82b7f2577a06aa4b83acdc37364cb63 /src
parent1cf2c8a04313b80a01ef23b06993586ce62281a4 (diff)
mesa: added case for fixed pt
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/varray.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 2886dfe5915..9d9b28b5189 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -606,6 +606,11 @@ _mesa_VertexAttribPointerARB(GLuint index, GLint size, GLenum type,
case GL_DOUBLE:
elementSize = size * sizeof(GLdouble);
break;
+#if FEATURE_fixedpt
+ case GL_FIXED:
+ elementSize = size * sizeof(GLfixed);
+ break;
+#endif
default:
_mesa_error( ctx, GL_INVALID_ENUM, "glVertexAttribPointerARB(type)" );
return;