mesa: add missing unlock_texture into generate_texture_mipmap
authorMarek Olšák <marek.olsak@amd.com>
Tue, 5 Oct 2021 22:06:08 +0000 (18:06 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 Oct 2021 23:46:14 +0000 (23:46 +0000)
commit8f68978caa2ff1a3ebb97b994b8db034a441644f
treef43d84f04f6022365349c5f612a4f818ddc10c61
parentc79ec5ea3cd0a05abdb0e132e14ca29f55881d5d
mesa: add missing unlock_texture into generate_texture_mipmap

Fixes: 5a39938b0004de36ac55 "mesa: Throw an error for compressed glGenerateMipmap on GLES2 contexts."

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13152>
src/mesa/main/genmipmap.c