fix android?
This commit is contained in:
parent
3af7d9bdf4
commit
da52f8d7ec
|
|
@ -310,7 +310,7 @@ void PresentManager::CopyToSwapchain(Frame* frame) {
|
|||
// Recreate surface and swapchain if needed.
|
||||
if (requires_recreation) {
|
||||
#ifdef ANDROID
|
||||
surface = reinterpret_cast<VkSurfaceKHR_T*>(CreateSurface(instance, render_window.GetWindowInfo()).address());
|
||||
surface = CreateSurface(instance, render_window.GetWindowInfo());
|
||||
#endif
|
||||
RecreateSwapchain(frame);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue