radv/amdgpu: Fix hash key in radv_amdgpu_winsys_destroy().
Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34774>
This commit is contained in:
@@ -155,7 +155,7 @@ radv_amdgpu_winsys_destroy(struct radeon_winsys *rws)
|
||||
|
||||
simple_mtx_lock(&winsys_creation_mutex);
|
||||
if (!--ws->refcount) {
|
||||
_mesa_hash_table_remove_key(winsyses, ws->dev);
|
||||
_mesa_hash_table_remove_key(winsyses, (void *)ac_drm_device_get_cookie(ws->dev));
|
||||
|
||||
/* Clean the hashtable up if empty, though there is no
|
||||
* empty function. */
|
||||
|
||||
Reference in New Issue
Block a user