remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram...
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 20 Jun 2004 20:55:36 +0000 (20:55 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 20 Jun 2004 20:55:36 +0000 (20:55 +0000)
src/mesa/shader/program.c

index 2b458fe..b58b5e0 100644 (file)
@@ -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);
       }
    }