Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - filchermcurr

Pages: [1]
1
Window / Window Size On Retina Macbook Pro
« on: August 23, 2015, 03:09:58 am »
... or any high DPI displays in general, I guess!

I hope this isn't too silly of a newbie question! I've noticed that SFML seems to handle scaled resolutions differently than GLFW. When GLFW creates an 800x600 window, it looks appropriately sized when using a scaled resolution in OS X ('looks like 1440x900' for those curious of which scaling setting). When SFML creates an 800x600 window, though, it's tiny. It looks like SFML is basing the size of the window on the actual monitor resolution rather than the scaled resolution. Here's a screenshot of both running at the time time for comparison:

http://imgur.com/TvZ4m2F

Are there any options to make SFML behave more like GLFW on a high DPI display?

Thanks!



SFML Version: 2.3.1 from 94dd1d7
Minimal GLFW source: http://pastebin.com/F7L35Sap
Minimal SFML source: http://pastebin.com/Wurcxeig

Pages: [1]