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

Pages: [1]
1
Window / 0 fullscreen modes available on 14inch macbook pro
« on: June 28, 2022, 06:56:45 pm »
Hi everyone, not sure if this is the right place to ask, but I'm having a problem with fullscreen mode on the new 14inch macbook pro. If I copy and run the code from the SFML videomode documentation ( https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1VideoMode.php#a6815b9b3b35767d5b4563fbed4bfc67b ) it returns a vector of size 0.
If I try to manually force fullscreen video mode with
mWindow(sf::VideoMode(), "name", sf::Style::Fullscreen)
 
it crashes with error:

The requested video mode is not available, switching to a valid mode

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

I've also tried with a specific VideoMode resolution. Is it possible that no fullscreen videomode is available? Does anyone know how to solve this problem?

Pages: [1]