From 6be8127ea4151a4f3da933d6b2cca917ed3dbfad Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Tue, 30 May 2006 16:57:52 +0000 Subject: [PATCH] don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which is actually handled --- src/mesa/shader/arbprogram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/shader/arbprogram.c b/src/mesa/shader/arbprogram.c index 9cc5488b2b1..4771c694656 100644 --- a/src/mesa/shader/arbprogram.c +++ b/src/mesa/shader/arbprogram.c @@ -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; -- 2.30.2