diff --git a/layer/VkLayer_FROG_gamescope_wsi.cpp b/layer/VkLayer_FROG_gamescope_wsi.cpp index 569bfd06eb..37a4f106bd 100644 --- a/layer/VkLayer_FROG_gamescope_wsi.cpp +++ b/layer/VkLayer_FROG_gamescope_wsi.cpp @@ -1082,9 +1082,9 @@ namespace GamescopeWSILayer { gamescope_swapchain_destroy(state->object); } GamescopeSwapchain::remove(swapchain); - fprintf(stderr, "[Gamescope WSI] Destroying swapchain: %p\n", swapchain); + fprintf(stderr, "[Gamescope WSI] Destroying swapchain: %p\n", (void*)swapchain); pDispatch->DestroySwapchainKHR(device, swapchain, pAllocator); - fprintf(stderr, "[Gamescope WSI] Destroyed swapchain: %p\n", swapchain); + fprintf(stderr, "[Gamescope WSI] Destroyed swapchain: %p\n", (void*)swapchain); } static VkResult CreateSwapchainKHR( @@ -1166,7 +1166,7 @@ namespace GamescopeWSILayer { fprintf(stderr, "[Gamescope WSI] Creating swapchain for xid: 0x%0x - oldSwapchain: %p - provided minImageCount: %u - minImageCount: %u - format: %s - colorspace: %s - flip: %s\n", gamescopeSurface->window, - pCreateInfo->oldSwapchain, + (void*)pCreateInfo->oldSwapchain, pCreateInfo->minImageCount, minImageCount, vkroots::helpers::enumString(pCreateInfo->imageFormat), @@ -1247,7 +1247,7 @@ namespace GamescopeWSILayer { fprintf(stderr, "[Gamescope WSI] Created swapchain for xid: 0x%0x swapchain: %p - imageCount: %u\n", gamescopeSurface->window, - *pSwapchain, + (void*)*pSwapchain, imageCount); gamescope_swapchain_swapchain_feedback(