mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 03:19:58 +00:00
vk_reosurce_manager: Add assert for releasing fences
Notify the programmer when a request to release a fence is invalid because the fence is already free.
This commit is contained in:
parent
6ddffa010a
commit
ec983a2451
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ void VKFence::Wait() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void VKFence::Release() {
|
void VKFence::Release() {
|
||||||
|
ASSERT(is_owned);
|
||||||
is_owned = false;
|
is_owned = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue