Skip to content

Fullscreen with different resolutions doesn't work #1304

Answered by cdavis5e
dozent asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to do different resolutions, you can use Quartz Display Services to change the resolution. Then you can create a fullscreen NSWindow and NSView for that resolution, or resize one you already have to that resolution. MTKView does much of the work for you, but I don't see how it handles fullscreen resolution changes. Can you post your modified sample so I can see what you're talking about?

One of these days, I should implement VK_KHR_display and VK_KHR_display_swapchain so that vkGetPhysicalDeviceSurfaceCapabilitiesKHR() can report multiple resolutions for a fullscreen surface.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dozent
Comment options

Answer selected by dozent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants