summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/shader/program.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index 2b458fe525..b58b5e003d 100644
--- a/src/mesa/shader/program.c
+++ b/src/mesa/shader/program.c
@@ -907,10 +907,6 @@ _mesa_BindProgram(GLenum target, GLuint id)
_mesa_error(ctx, GL_OUT_OF_MEMORY, "glBindProgramNV/ARB");
return;
}
- prog->Id = id;
- prog->Target = target;
- prog->Resident = GL_TRUE;
- prog->RefCount = 1;
_mesa_HashInsert(ctx->Shared->Programs, id, prog);
}
}