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/program/program.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/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 30f83772f3a..6e767b6ef5c 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -52,8 +52,6 @@ struct gl_program _mesa_DummyProgram; void _mesa_init_program(struct gl_context *ctx) { - GLuint i; - /* * If this assertion fails, we need to increase the field * size for register indexes (see INST_INDEX_BITS). @@ -90,10 +88,6 @@ _mesa_init_program(struct gl_context *ctx) _mesa_reference_vertprog(ctx, &ctx->VertexProgram.Current, ctx->Shared->DefaultVertexProgram); assert(ctx->VertexProgram.Current); - for (i = 0; i < MAX_NV_VERTEX_PROGRAM_PARAMS / 4; i++) { - ctx->VertexProgram.TrackMatrix[i] = GL_NONE; - ctx->VertexProgram.TrackMatrixTransform[i] = GL_IDENTITY_NV; - } ctx->VertexProgram.Cache = _mesa_new_program_cache(); ctx->FragmentProgram.Enabled = GL_FALSE; |