mesa: added case for fixed pt
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 20:12:27 +0000 (14:12 -0600)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 22 Sep 2008 05:13:56 +0000 (22:13 -0700)
src/mesa/main/varray.c

index 2886dfe5915d4f178187c1b971c9753b8ec92205..9d9b28b5189ad4bbd5b74332e25c7a22ed20cd25 100644 (file)
@@ -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;