Vulkan: Add more logging ...

This commit is contained in:
Hans-Kristian Arntzen 2016-03-29 17:57:13 +02:00
parent c7b96b75b8
commit e04bbfbae2
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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)
{