don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which...
authorTilman Sauerbeck <tilman@freedesktop.org>
Tue, 30 May 2006 16:57:52 +0000 (16:57 +0000)
committerTilman Sauerbeck <tilman@freedesktop.org>
Tue, 30 May 2006 16:57:52 +0000 (16:57 +0000)
src/mesa/shader/arbprogram.c

index 9cc5488b2b12b9894f0656c60e1fcec8f6d2ce83..4771c694656c0a4699fffcd607f5fb20dac1cbe2 100644 (file)
@@ -132,6 +132,7 @@ _mesa_GetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params)
             return;
          }
          params[0] = (GLfloat) ctx->Array.VertexAttrib[index].BufferObj->Name;
+         break;
       default:
          _mesa_error(ctx, GL_INVALID_ENUM, "glGetVertexAttribfvARB(pname)");
          return;