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.


Messages - alpha_kotenok

Pages: [1]
1
Graphics / High DPI on MacBook retina display
« on: May 25, 2024, 10:45:18 pm »
When making a window, it seems to be scaled twice (with all the pixels) to match non-retina screens (I suppose). However, I am rendering a lot of relatively small text, which looks blurry. I want to use a native MacBook resolution instead. How can I accomplish that?

NSHighResolutionCapable is on. I also tried something like:
 window->setView(sf::View(sf::FloatRect({0, 0}, {(float)windowSize.x * 2, (float)windowSize.y * 2})));
but virtual pixels still remain 2x2.

Pages: [1]
anything