From: Tilman Sauerbeck Date: Tue, 30 May 2006 16:57:52 +0000 (+0000) Subject: don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6be8127ea4151a4f3da933d6b2cca917ed3dbfad;p=mesa.git don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which is actually handled --- 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;