mesa: move _Used to gl_program
We no longer need to initialise it because gl_program is never reused. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -4748,7 +4748,6 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
|
||||
{
|
||||
prog->data->LinkStatus = true; /* All error paths will set this to false */
|
||||
prog->data->Validated = false;
|
||||
prog->_Used = false;
|
||||
|
||||
/* Section 7.3 (Program Objects) of the OpenGL 4.5 Core Profile spec says:
|
||||
*
|
||||
|
Reference in New Issue
Block a user