Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML opens a normal window and a transparent window  (Read 2468 times)

0 Members and 1 Guest are viewing this topic.

MystikReasons

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
SFML opens a normal window and a transparent window
« 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)
« Last Edit: April 15, 2015, 04:27:40 pm by MystikReasons »

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: SFML opens a normal window and a transparen window
« Reply #1 on: April 15, 2015, 03:45:06 pm »
Please post a complete and minimal example that reproduces the problem.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

MystikReasons

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: SFML opens a normal window and a transparen window
« Reply #2 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.
« Last Edit: April 15, 2015, 04:31:22 pm by MystikReasons »

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: SFML opens a normal window and a transparent window
« Reply #3 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.

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
« Last Edit: April 15, 2015, 05:09:48 pm by zsbzsb »
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

 

anything