1
Window / Problem creating a fullscreen window in linux
« on: July 30, 2008, 09:53:45 pm »
First of all, thx for such a convenient multi-plataform library!
Now, onto my problem.
I'm trying to create a sf::window under linux. Size and fullscreen/windowed properties are read from a config file. the problem is that for some reason, whenever I create a window with a sf::Style::Fullscreen windowstyle, sfml seems to create it as if I were doing something like
The thing is that if I try to create, say a 1024x768x32 fullscreen window, sfml creates a 1280x1024x32 window, showing a 1024x768 view at the lower left corner.
Anyway, I wanted to see if anyone was having the same issue.
Thanks for all,
Gabez.
Now, onto my problem.
I'm trying to create a sf::window under linux. Size and fullscreen/windowed properties are read from a config file. the problem is that for some reason, whenever I create a window with a sf::Style::Fullscreen windowstyle, sfml seems to create it as if I were doing something like
Code: [Select]
sf::Window app(sf::VideoMode::GetMode(0), ...)
The thing is that if I try to create, say a 1024x768x32 fullscreen window, sfml creates a 1280x1024x32 window, showing a 1024x768 view at the lower left corner.
Anyway, I wanted to see if anyone was having the same issue.
Thanks for all,
Gabez.