ElChupacabra
2014-03-27 16:18:41 UTC
Hi!
I'm using SDL2.0.3, Mac OS X 10.8.5. I got that code:
Code:
SDL_SetWindowFullscreen(window, fullscreen ? SDL_WINDOW_FULLSCREEN : 0);
It works great when I switch from windowed to fullscreen but nothing happens when I try to go back to windowed mode. SDL_SetWindowFullscreen is always returning 0 so I have no idea what is wrong. I need some advice what should I do. Btw when I use SDL_WINDOW_FULLSCREEN_DESKTOP strange things happen... I got just small window (1024x768 is which I'm using) in the left bottom corner of screen and the rest of screen is black (the other monitor is also black).
I'm using SDL2.0.3, Mac OS X 10.8.5. I got that code:
Code:
SDL_SetWindowFullscreen(window, fullscreen ? SDL_WINDOW_FULLSCREEN : 0);
It works great when I switch from windowed to fullscreen but nothing happens when I try to go back to windowed mode. SDL_SetWindowFullscreen is always returning 0 so I have no idea what is wrong. I need some advice what should I do. Btw when I use SDL_WINDOW_FULLSCREEN_DESKTOP strange things happen... I got just small window (1024x768 is which I'm using) in the left bottom corner of screen and the rest of screen is black (the other monitor is also black).