summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arbprogram.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-10-09 16:44:41 -0700
committerEric Anholt <[email protected]>2012-10-15 11:53:24 -0700
commitcc763f0f3f5558c4ce055e54da6ebd2279009322 (patch)
tree2cc13adaea0a9e63bdc032efb154145f970254e9 /src/mesa/main/arbprogram.c
parent363643f540312a4d384080ec757ff6c2f45501f5 (diff)
mesa: Remove support for GL_VERTEX_STATE_PROGRAMs and their execution.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/arbprogram.c')
-rw-r--r--src/mesa/main/arbprogram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/arbprogram.c b/src/mesa/main/arbprogram.c
index 4af9fe4d317..4de4cd36489 100644
--- a/src/mesa/main/arbprogram.c
+++ b/src/mesa/main/arbprogram.c
@@ -179,7 +179,6 @@ _mesa_DeletePrograms(GLsizei n, const GLuint *ids)
/* Unbind program if necessary */
switch (prog->Target) {
case GL_VERTEX_PROGRAM_ARB: /* == GL_VERTEX_PROGRAM_NV */
- case GL_VERTEX_STATE_PROGRAM_NV:
if (ctx->VertexProgram.Current &&
ctx->VertexProgram.Current->Base.Id == ids[i]) {
/* unbind this currently bound program */