SFML community forums

Help => Window => Topic started by: MystikReasons on April 15, 2015, 03:27:36 pm

Title: SFML opens a normal window and a transparent window
Post by: MystikReasons on April 15, 2015, 03:27:36 pm
Hello members

I think I found a bug in the SFML 2.2. When I start the program the console, the normal window and a transparent empty window opens. I dont know why and I never had that before.

Here's the code and a screenshot of the window(Attachment)

(click to show/hide)
Title: Re: SFML opens a normal window and a transparen window
Post by: zsbzsb on April 15, 2015, 03:45:06 pm
Please post a complete and minimal (http://en.sfml-dev.org/forums/index.php?topic=5559.msg36368#msg36368) example that reproduces the problem.
Title: Re: SFML opens a normal window and a transparen window
Post by: MystikReasons on April 15, 2015, 04:19:26 pm
I dont know where the Problem because I dont get an error message so I posted the game.h and game.cpp.
Title: Re: SFML opens a normal window and a transparent window
Post by: zsbzsb on April 15, 2015, 05:07:40 pm
Obviously you didn't read the link, because if this is really a problem with SFML then you should easily be able to reproduce it within a few lines without needing these classes. The idea is to strip down your own code until nothing is left other than what is needed to reproduce the problem.

Quote from: http://en.sfml-dev.org/forums/index.php?topic=5559.msg36368#msg36368
the code is as simple as possible, the best is one main() with all the code inside -- people don't want to setup a complex project just to test your code