Page 1 of 1
Fullscreen Type "Normal" and Retina Pixel Scale.
Posted: Thu Feb 26, 2015 5:15 am
by ovendont
I'm working through getting retina support for my game. I'd like to have the capability of running fullscreen with both a regular and borderless experience. The problem is love.window.getPixelScale() returns 1 when the fullscreen type is set to normal and running on a retina display.
Is this intended or am I missing something? It's very possible that I'm misunderstanding how retina capabilities are supposed to be integrated.
Re: Fullscreen Type "Normal" and Retina Pixel Scale.
Posted: Thu Feb 26, 2015 7:17 am
by slime
I don't think SDL's Mac OS X code for enumerating display modes supports getting retina display modes right now, so there's currently no way to have high-dpi mode enabled when in exclusive fullscreen on a Retina display.
I might take a look at that code and see if I can implement that in SDL tomorrow, but it'd still have to wait for the next LÖVE version (probably 0.10.0) to be released, which may be a while.
Re: Fullscreen Type "Normal" and Retina Pixel Scale.
Posted: Thu Feb 26, 2015 10:50 am
by Jasoco
Personally I'd just drop normal mode completely and embrace the awesomeness of Desktop fullscreen mode. Especially on OS X where it's amazingly amazing. (Fullscreen spaces for the win!)
Re: Fullscreen Type "Normal" and Retina Pixel Scale.
Posted: Fri Feb 27, 2015 1:51 am
by ovendont
Thanks for the clarification! I'll just go with borderless for now.