projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51fec69
)
don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which...
author
Tilman Sauerbeck
<tilman@freedesktop.org>
Tue, 30 May 2006 16:57:52 +0000
(16:57 +0000)
committer
Tilman Sauerbeck
<tilman@freedesktop.org>
Tue, 30 May 2006 16:57:52 +0000
(16:57 +0000)
src/mesa/shader/arbprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogram.c
b/src/mesa/shader/arbprogram.c
index 9cc5488b2b12b9894f0656c60e1fcec8f6d2ce83..4771c694656c0a4699fffcd607f5fb20dac1cbe2 100644
(file)
--- 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;