diff options
author | Eric Anholt <[email protected]> | 2012-10-09 15:34:49 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-10-15 11:53:23 -0700 |
commit | 6ab9c0476992752ff3ac0c80b6952075a4679aeb (patch) | |
tree | e9b92ccff25c862d9303d5e7a2864d3ca8bb2e18 /src/mesa/main/matrix.c | |
parent | bcfd51f8c45be2ee99f302ed3310c34998b19ff6 (diff) |
mesa: Remove support for NV_vertex_program's tracked matrices.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/matrix.c')
-rw-r--r-- | src/mesa/main/matrix.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index 76f5ea7cd69..4a329c664da 100644 --- a/src/mesa/main/matrix.c +++ b/src/mesa/main/matrix.c @@ -179,22 +179,6 @@ _mesa_MatrixMode( GLenum mode ) ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->TextureMatrixStack)); ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; break; - case GL_MATRIX0_NV: - case GL_MATRIX1_NV: - case GL_MATRIX2_NV: - case GL_MATRIX3_NV: - case GL_MATRIX4_NV: - case GL_MATRIX5_NV: - case GL_MATRIX6_NV: - case GL_MATRIX7_NV: - if (ctx->API == API_OPENGL && ctx->Extensions.NV_vertex_program) { - ctx->CurrentStack = &ctx->ProgramMatrixStack[mode - GL_MATRIX0_NV]; - } - else { - _mesa_error( ctx, GL_INVALID_ENUM, "glMatrixMode(mode)" ); - return; - } - break; case GL_MATRIX0_ARB: case GL_MATRIX1_ARB: case GL_MATRIX2_ARB: |