mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Fix misplaced parenthesis.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
12180a8e30
commit
a9abb0d7eb
@ -417,7 +417,7 @@ static void vkd3d_init_debug_report(struct vkd3d_instance *instance)
|
|||||||
callback_info.flags = VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT;
|
callback_info.flags = VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT;
|
||||||
callback_info.pfnCallback = vkd3d_debug_report_callback;
|
callback_info.pfnCallback = vkd3d_debug_report_callback;
|
||||||
callback_info.pUserData = NULL;
|
callback_info.pUserData = NULL;
|
||||||
if ((vr = VK_CALL(vkCreateDebugReportCallbackEXT(vk_instance, &callback_info, NULL, &callback)) < 0))
|
if ((vr = VK_CALL(vkCreateDebugReportCallbackEXT(vk_instance, &callback_info, NULL, &callback))) < 0)
|
||||||
{
|
{
|
||||||
WARN("Failed to create debug report callback, vr %d.\n", vr);
|
WARN("Failed to create debug report callback, vr %d.\n", vr);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user