yisp
2 posts
|
#13971
Mac OSX Retina Display Support? 1 year, 1 month ago Edited by yisp on Jan. 10, 2018, 4:04 a.m. Reason: Initial post
Does the paid version have support for Retina displays? I tried the demo on itch.io and it doesn't seem to work w/ my Macbook Retina display, unless I'm missing some flags I should pass in or something?
|
Mr4thDimention
Allen Webster
460 posts
/ 2 projects
Heyo |
#13974
Mac OSX Retina Display Support? 1 year, 1 month ago
No it doesn't do anything to work with retina displays right now. It's on my todo list but not too close to the top at the moment.
|
forkingpaths
Martin Fouilleul
50 posts
/ 1 project
Sound Engineer / Programmer |
#13975
Mac OSX Retina Display Support? 1 year, 1 month ago
Hi,
If you are using a custom NSView and NSOpenGLContext, it shouldn't be too hard to make it work for retina, you would want to set :
Then you want to save your backing store scaling :
Then you can use it to adapt your opengl viewport accordingly :
That should be sufficient to benefit for the high res on retina displays (ie there should be no need to modify your rendering code) Hope that helps ! Martin |
Mr4thDimention
Allen Webster
460 posts
/ 2 projects
Heyo |
#13980
Mac OSX Retina Display Support? 1 year, 1 month ago
That does help a lot! I'll bump it to the top of the list.
|