mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits
This commit is contained in:
parent
636d4db608
commit
26359143b6
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue