This commit is contained in:
lizzie
2025-11-07 08:28:03 +00:00
committed by crueter
parent 8bd9059ed7
commit 4a2422316d

View File

@@ -310,7 +310,7 @@ void PresentManager::CopyToSwapchain(Frame* frame) {
// Recreate surface and swapchain if needed.
if (requires_recreation) {
#ifdef ANDROID
surface = CreateSurface(instance, render_window.GetWindowInfo());
surface = reinterpret_cast<VkSurfaceKHR_T*>(CreateSurface(instance, render_window.GetWindowInfo()));
#endif
RecreateSwapchain(frame);
}