mesa: drop unused context parameter to shader program data reference.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437>
This commit is contained in:
@@ -301,7 +301,7 @@ _mesa_reference_program_(struct gl_context *ctx,
|
||||
|
||||
if (p_atomic_dec_zero(&oldProg->RefCount)) {
|
||||
assert(ctx);
|
||||
_mesa_reference_shader_program_data(ctx, &oldProg->sh.data, NULL);
|
||||
_mesa_reference_shader_program_data(&oldProg->sh.data, NULL);
|
||||
st_delete_program(ctx, oldProg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user