SFML community forums
Help => Window => Topic started by: BlueCobold on November 12, 2014, 11:01:50 am
-
Hi.
I'm using MacOS 10.9 and SFML 2.1 on a MacBook Pro (NVIDIA GeForce GT 750M) with retina display (2560x1600). SFML only lists me video-modes up to 1680x1050 and it looks like the window gets scaled up about twice in size. Even the system-specific window-buttons to close or minimize the app only show in half resolution compared to all other apps.
I don't have such issues with other games. For example Diablo 3 always has the correct size and even allows retina resolution.
Any ideas what's going on? The SFML-sample-applications or Xcode-Templates behave the same by the way.
-
Try the master branch from GitHub, there have been fixes for high DPI displays.
-
Which commits are relevant for such changes? I can't find anything related in the log.
Edit:
Found it. Must be rev265c411c39f498f95a03517818167b47b754c440.
-
https://github.com/SFML/SFML/commit/d8812f0f5ca0e78902e0bbfb2dd3229eb960980c