Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Getting true pixel resolution from OpenGL on Retina displays

  1. #1
    Junior Member Newbie
    Join Date
    May 2015
    Posts
    20

    Getting true pixel resolution from OpenGL on Retina displays

    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

  2. #2
    Advanced Member Frequent Contributor arekkusu's Avatar
    Join Date
    Nov 2003
    Posts
    884

  3. #3
    Junior Member Newbie
    Join Date
    May 2015
    Posts
    20
    Quote Originally Posted by arekkusu View Post
    So there's been no progress in 3 years?

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •