Fullscreen Type "Normal" and Retina Pixel Scale.

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
ovendont
Prole
Posts: 2
Joined: Thu Feb 26, 2015 4:54 am

Fullscreen Type "Normal" and Retina Pixel Scale.

Post 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.
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Fullscreen Type "Normal" and Retina Pixel Scale.

Post 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.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Fullscreen Type "Normal" and Retina Pixel Scale.

Post 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!)
ovendont
Prole
Posts: 2
Joined: Thu Feb 26, 2015 4:54 am

Re: Fullscreen Type "Normal" and Retina Pixel Scale.

Post by ovendont »

Thanks for the clarification! I'll just go with borderless for now.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests