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.
pull/8/head
ReinUsesLisp 5 years ago
parent 6ddffa010a
commit ec983a2451
No known key found for this signature in database
GPG Key ID: 2DFC508897B39CFE

@ -87,6 +87,7 @@ void VKFence::Wait() {
}
void VKFence::Release() {
ASSERT(is_owned);
is_owned = false;
}

Loading…
Cancel
Save