summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvprogram.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-01-27 18:04:12 -0800
committerIan Romanick <[email protected]>2009-01-28 16:28:10 -0800
commit82b9661894315362f857192439bdcbc9db090387 (patch)
tree68e16f11c02d527c5a29b03567981b5111a8d051 /src/mesa/shader/nvprogram.c
parent2b77b1d62e6480f19aac1bde6f730b7da1046ce0 (diff)
Make GL_ARB_vertex_buffer_object mandatory
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/shader/nvprogram.c')
-rw-r--r--src/mesa/shader/nvprogram.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/shader/nvprogram.c b/src/mesa/shader/nvprogram.c
index 88272fff3ff..16116c4339e 100644
--- a/src/mesa/shader/nvprogram.c
+++ b/src/mesa/shader/nvprogram.c
@@ -469,10 +469,6 @@ _mesa_GetVertexAttribivNV(GLuint index, GLenum pname, GLint *params)
params[3] = (GLint) ctx->Current.Attrib[index][3];
break;
case GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB:
- if (!ctx->Extensions.ARB_vertex_buffer_object) {
- _mesa_error(ctx, GL_INVALID_ENUM, "glGetVertexAttribdvNV");
- return;
- }
params[0] = ctx->Array.ArrayObj->VertexAttrib[index].BufferObj->Name;
break;
default: