diff options
author | Eric Anholt <[email protected]> | 2012-10-09 15:33:21 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-10-15 11:53:24 -0700 |
commit | 8b2fe73897b1d50fd99de3f66bf78fe3fc44bfee (patch) | |
tree | d6962d362f4a4fa3c5e31499f3860255f4a269d0 /src/mesa/main/nvprogram.c | |
parent | cb9a1bf316c1cb9a4273311e93d6bfa4d6e345c2 (diff) |
mesa: Remove miscellaneous remains of NV_vertex_program.
v2: Rebase on top of get.c changes.
Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/mesa/main/nvprogram.c')
-rw-r--r-- | src/mesa/main/nvprogram.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/nvprogram.c b/src/mesa/main/nvprogram.c index 6807af51f40..6ad846e377e 100644 --- a/src/mesa/main/nvprogram.c +++ b/src/mesa/main/nvprogram.c @@ -315,8 +315,7 @@ _mesa_LoadProgramNV(GLenum target, GLuint id, GLsizei len, GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END(ctx); - if (!ctx->Extensions.NV_vertex_program - && !ctx->Extensions.NV_fragment_program) { + if (!ctx->Extensions.NV_fragment_program) { _mesa_error(ctx, GL_INVALID_OPERATION, "glLoadProgramNV()"); return; } |