diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-06-10 14:56:40 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-06-10 14:56:40 +0000 |
commit | 66a83c9e175c948d1ed8dd860fba42b4cb42ee34 (patch) | |
tree | ad4a73c3f9368743ce45050c9873cdcf0bcfd8eb /src/mesa/main/arbprogram.c | |
parent | 9a2121cfb66ac715273dd1fcc5eadc17ee05a73e (diff) |
fix GL_CURRENT_VERTEX_ATTRIB_ARB queries
Diffstat (limited to 'src/mesa/main/arbprogram.c')
-rw-r--r-- | src/mesa/main/arbprogram.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/arbprogram.c b/src/mesa/main/arbprogram.c index 5cc451e8bb..54715e20b3 100644 --- a/src/mesa/main/arbprogram.c +++ b/src/mesa/main/arbprogram.c @@ -142,6 +142,7 @@ _mesa_GetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params) params[0] = ctx->Array.VertexAttrib[index].Normalized; break; case GL_CURRENT_VERTEX_ATTRIB_ARB: + FLUSH_CURRENT(ctx, 0); COPY_4V(params, ctx->Current.Attrib[index]); break; default: |