remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user