PDA

View Full Version : Getting true pixel resolution from OpenGL on Retina displays



question2
06-04-2015, 05:57 PM
Hi folks,
My GL program is meant to run on any computer, but I've found that on OS X OpenGL displays my window not at the native Retina resolution but rather at point resolution i.e. Each texture pixel maps to a 2 x 2 square of Retina pixels.
Is there a way to ask OpenGL to give me the true Retina pixel resolution rather than the points resolution?
Thanks

arekkusu
06-04-2015, 07:53 PM
See previous thread (https://www.opengl.org/discussion_boards/showthread.php/178916-Using-the-retina-display-on-a-macbook-pro).

question2
06-05-2015, 12:13 AM
See previous thread (https://www.opengl.org/discussion_boards/showthread.php/178916-Using-the-retina-display-on-a-macbook-pro).

So there's been no progress in 3 years?

Hasn't anyone tried to swizzle prepareOpenGL to replace it and continue using regular GLUT?