vk/util: fix buggy usage of unreachable()
Cc: mesa-stable Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22529>
This commit is contained in:
committed by
Marge Bot
parent
2f9520a5d0
commit
5863bafbdc
@@ -461,7 +461,7 @@ vk_device_entrypoint_is_enabled(int index, uint32_t core_version,
|
||||
#ifdef _MSC_VER
|
||||
VKAPI_ATTR void VKAPI_CALL vk_entrypoint_stub(void)
|
||||
{
|
||||
unreachable(!"Entrypoint not implemented");
|
||||
unreachable("Entrypoint not implemented");
|
||||
}
|
||||
|
||||
static const void *get_function_target(const void *func)
|
||||
|
||||
Reference in New Issue
Block a user