summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTilman Sauerbeck <[email protected]>2006-05-30 16:57:52 +0000
committerTilman Sauerbeck <[email protected]>2006-05-30 16:57:52 +0000
commit6be8127ea4151a4f3da933d6b2cca917ed3dbfad (patch)
treeff7742eaf6d8b752db60141b476ce7a57f7f54e0 /src
parent51fec69ea6dec237f996161ae5a4a30ae563a2f1 (diff)
don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which is actually handled
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/arbprogram.c1
1 files changed, 1 insertions, 0 deletions
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;