aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-03 14:12:27 -0600
committerBrian Paul <[email protected]>2008-07-03 17:21:22 -0600
commit78388c0e374349810fe3fb38cd4103a9544df4bf (patch)
treee01b0ec3acc0562bd9ccf4205dd61553016c6051 /src
parentf042d662e2cec4315ddaae1ee536f593139f703d (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 50fe8745563..a4ef948b58e 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -615,6 +615,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;