diff options
author | Brian Paul <[email protected]> | 2004-06-20 20:55:36 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-06-20 20:55:36 +0000 |
commit | 26359143b673db7793d06ff2b4217198aa0266d6 (patch) | |
tree | b16f29a47f6410ed315830dfeaf811e17ea52d05 /src/mesa/shader/program.c | |
parent | 636d4db60817c49917417a6f697b8c30c541a63a (diff) |
remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r-- | src/mesa/shader/program.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index 2b458fe525a..b58b5e003d2 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); } } |