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 - NoFr1ends

Pages: [1]
1
Graphics / Position and Size off under macOS 10.14 Beta
« on: July 17, 2018, 09:07:14 am »
Hello,

while testing macOS 10.14 Beta I discovered a bug which appears in combination with SFML.
Under macOS 10.14 all positions and sizes in the window are wrong but under macOS 10.13 everything works as expected.

I have made some examples:

200x200 Window, 100 radius circle at 0,0
(click to show/hide)

200x200 Window, 100 radius circle at 50,50
(click to show/hide)

It looks like SFML use internally only 100x100 size while the window is 200x200, maybe the viewport is generated wrong.

All projects are generated with:
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
generating with
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14
doesn't change anything (also tried other different versions).

SFML is installed from 2.5.0 source with:
cmake
make
sudo make install

Apple Clang Version is 10.0.0 (cland-1000.10.38)

Edit: Change the scaling of the display changes nothing

Pages: [1]
anything