SFML community forums
Help => Graphics => Topic started by: werdy666 on April 26, 2011, 04:15:41 pm
-
Hi,
Just have been playing around with keeping my sprites the same size regardless of what the user changes the window size to. Works perfectly ok when i manually resize the window.
Problem is that when I hit maximise on the window it isn't recognised as a resize event.
Am I missing something? I have searched the forums and the docs for version 1.6 and 2.0 (currently using SFML 2.0)
Thanks
werdy666 :D
-
Which operating system?
-
Windows 7 64bit.
-
Works for me on the same OS.
You should try the OpenGL example. If the 3D cube doesn't follow exactly the mouse anymore after resizing, and is stuck in the lower-left corner, then there's a bug in SFML. If everything's ok then you have a bug in your code.
-
bug in my Code! :oops:
thanks for your help Laurent!