Skip to content

Android: return existing VkSurface on VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - #5

Open
whitebelyash wants to merge 1 commit into
MojoLauncher:glfw34from
whitebelyash:fix/multisurface
Open

Android: return existing VkSurface on VK_ERROR_NATIVE_WINDOW_IN_USE_KHR#5
whitebelyash wants to merge 1 commit into
MojoLauncher:glfw34from
whitebelyash:fix/multisurface

Conversation

@whitebelyash

Copy link
Copy Markdown
Contributor

Most desktop platforms support multiple Vulkan surfaces on a single window. Android does not.

This caused weird crashes when running VulkanMod dev builds. Still not sure if it's a mistake on VKMod side or we actually have to handle these situations.

Currently only Vulkan is handled: GLFW will return already created VkSurface object if new requested. EGL will require destroying EGLSurface object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant