mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 09:35:21 +00:00
Vulkan: Add more logging ...
This commit is contained in:
parent
c7b96b75b8
commit
e04bbfbae2
@ -1798,7 +1798,10 @@ bool vulkan_create_swapchain(gfx_ctx_vulkan_data_t *vk,
|
||||
}
|
||||
|
||||
if (old_swapchain != VK_NULL_HANDLE)
|
||||
{
|
||||
RARCH_LOG("[Vulkan]: Recycled old swapchain.\n");
|
||||
VKFUNC(vkDestroySwapchainKHR)(vk->context.device, old_swapchain, NULL);
|
||||
}
|
||||
|
||||
vk->context.swapchain_width = swapchain_size.width;
|
||||
vk->context.swapchain_height = swapchain_size.height;
|
||||
|
@ -511,7 +511,10 @@ static bool gfx_ctx_wgl_set_video_mode(void *data,
|
||||
bool fullscreen)
|
||||
{
|
||||
if (!win32_set_video_mode(NULL, width, height, fullscreen))
|
||||
{
|
||||
RARCH_ERR("[WGL]: win32_set_video_mode failed.\n");
|
||||
goto error;
|
||||
}
|
||||
|
||||
switch (g_api)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user