summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_context.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-10-09 15:38:53 -0700
committerEric Anholt <[email protected]>2012-10-15 11:53:23 -0700
commit4f9d351ef186314a58e58795936de38e1b765f18 (patch)
tree93af345fbd62e32afa2b4b7fe48595e403d296d9 /src/mesa/vbo/vbo_context.h
parent6a20f0e561dae647ebc590bf0cfde3cf66fa6d9d (diff)
mesa: Remove support for NV_vertex_program's special attributes aliasing
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_context.h')
-rw-r--r--src/mesa/vbo/vbo_context.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_context.h b/src/mesa/vbo/vbo_context.h
index e3e37e7f282..c896f1196f7 100644
--- a/src/mesa/vbo/vbo_context.h
+++ b/src/mesa/vbo/vbo_context.h
@@ -106,8 +106,6 @@ get_program_mode( struct gl_context *ctx )
return VP_NONE;
else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
return VP_NONE;
- else if (ctx->VertexProgram._Current->IsNVProgram)
- return VP_NV;
else
return VP_ARB;
}