From 26359143b673db7793d06ff2b4217198aa0266d6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 20 Jun 2004 20:55:36 +0000 Subject: [PATCH] remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits --- src/mesa/shader/program.c | 4 ---- 1 file changed, 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); } } -- 2.30.2