The system info of my mac says it’s 4096 x 2304 . And it’s retina.
When I launch, glfwGetVideoMode(glfwGetPrimaryMonitor()) says my resolution is 2304x1296
glfwGetVideoModes(glfwGetPrimaryMonitor()) returns resolutions from 640x480 -> 4096x2304
If I launch a full screen window, glfwGetFramebufferSize gives me double the numbers. I.e. window = 4096x2304, FB = double, window = 2304x1296, FB = 4096x2304
If I launch a windowed window with 2304x1296 in resolution, I get the same size framebuffer.
If I do glfwWindowHint(GLFW_COCOA_RETINA_FRAMEBUFFER, GL11.GL_FALSE); I get the correct results even in full screen.
Unfortunately, I’m tied to LWJGL’s java wrapper, so I can’t update any further. I’m kind of hoping I’ve overlooked something. seems unlikely there would be a bug and I’d be the first to spot it.
I don’t know what the resolution numbers mean though. This is a standard Imac. Even with retina 8x4 k sounds a bit high to me. It’s more likely 2304x1296 and 4096x2304?
Before I launch into full screen with 4096x2304, I do indeed see the desktop switching to a much higher resolution, which looks like a transition from 2304x1296 -> 4096x2304. Definitely not 8000x4000 though.