mesa: added case for fixed pt
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 20:12:27 +0000 (14:12 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 23:21:22 +0000 (17:21 -0600)
src/mesa/main/varray.c

index 50fe874..a4ef948 100644 (file)
@@ -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;