projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be50caa
)
fix GetVertexAttrib problem
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 6 Oct 2004 15:52:43 +0000
(15:52 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 6 Oct 2004 15:52:43 +0000
(15:52 +0000)
src/mesa/shader/arbprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogram.c
b/src/mesa/shader/arbprogram.c
index 85235586181aa56ab41fa9bca6479d27ce27294b..79615d609cee34bd9069b7fb19111eff5d93b874 100644
(file)
--- a/
src/mesa/shader/arbprogram.c
+++ b/
src/mesa/shader/arbprogram.c
@@
-130,7
+130,10
@@
_mesa_GetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params)
break;
case GL_CURRENT_VERTEX_ATTRIB_ARB:
FLUSH_CURRENT(ctx, 0);
- COPY_4V(params, ctx->Current.Attrib[VERT_ATTRIB_GENERIC0 + index]);
+ /* XXX should read:
+ COPY_4V(params, ctx->Current.Attrib[VERT_ATTRIB_GENERIC0 + index]);
+ */
+ COPY_4V(params, ctx->Current.Attrib[index]);
break;
case GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB:
if (!ctx->Extensions.ARB_vertex_buffer_object) {