SFML community forums
Help => Window => Topic started by: TheNeedle on April 09, 2008, 10:56:57 pm
-
Hi,
I'm using SFML 1.2 on a linux(debian)-box.
I tried the code from the documentation, which creates a window with class RenderWindow. For the image in backround i used one with some nice girls, by the way... :P ... everything works fine.
Next i started to try "Opening a Window" as shown in Tutorial. There the App.-Window is created with Window. In this window, the girls are stil visible, but distorted. The point is not the distortion, but why are they visible?
[/i]
-
As said in the tutorial, if nothing is drawn in the window then there could be anything, most likely the content of the video memory (ie. the last thing you displayed -- your cute girls :)).
You need at least to call glClear if you want your window to be filled with a color.
-
Oh, sorry! I missed this tiny part in the text... :P
I recognized, that after restart the picture is also stil visible, turning tho box off and on the girls were gone...
Thx4Reply,
regards
-
Oh, sorry! I missed this tiny part in the text... :P
That's what happens when you are looking at cute girls at the same time. :D