Hi
I have a game which opens a window like this:
window1(RenderWindow(sf::VideoMode(1280,1024,32),"Window1",sf::Style::None));
Later, I re-size the window to fit the actual dimensions of the size I want (so all my graphics are done to 1280x1024@32bpp, but I might want a window of whatever size, maybe 50% size, etc).
window1.SetSize(scr1Data.right,scr1Data.bottom);
window1.SetPosition(scr1Data.left,scr1Data.top);
My problem is that I have systems where the default resolution is, for example, 800x600, but the hardware will support 1280x1024, no problem. When I try to open a window, all I get is an empty, black, window.
So how do I adjust the OS resolution (if I even need to?!) so that my window opens correctly and the program works?
Thanks