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

Author Topic: [solved] Weird Window-Sizes on MacOS  (Read 2130 times)

0 Members and 1 Guest are viewing this topic.

BlueCobold

  • Full Member
  • ***
  • Posts: 105
    • View Profile
[solved] Weird Window-Sizes on MacOS
« 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.
« Last Edit: January 14, 2015, 12:21:12 am by BlueCobold »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: Weird Window-Sizes on MacOS
« Reply #1 on: November 12, 2014, 11:05:53 am »
Try the master branch from GitHub, there have been fixes for high DPI displays.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

BlueCobold

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Weird Window-Sizes on MacOS
« Reply #2 on: November 12, 2014, 11:19:58 am »
Which commits are relevant for such changes? I can't find anything related in the log.

Edit:
Found it. Must be rev265c411c39f498f95a03517818167b47b754c440.
« Last Edit: November 12, 2014, 11:25:17 am by BlueCobold »

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
SFML / OS X developer

 

anything