Browse Source

don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which is actually handled

tags/mesa-6_5-20060712
Tilman Sauerbeck 19 years ago
parent
commit
6be8127ea4
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/mesa/shader/arbprogram.c

+ 1
- 0
src/mesa/shader/arbprogram.c View File

@@ -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;

Loading…
Cancel
Save