SFML community forums
Help => General => Topic started by: panithadrum on October 10, 2010, 05:37:23 pm
-
I am using SFML2 (last revision, shared libraries), W7 Home and Visual Studio 2010. I created the project with CMake.
It works fine until the window (or context) is out of scope (when it destroys the GL context). I get this: (http://img301.imageshack.us/img301/4917/imagei.png) (http://img301.imageshack.us/i/imagei.png/)
Uploaded with ImageShack.us (http://imageshack.us)
The problems appears within this code:#include <SFML/Graphics.hpp>
int main() {
sf::RenderWindow Window;
// Or sf::Context Context;
}
I don't know if this is related to some other problems in the forum.
-
ATI card?
-
It is a Intel graphics media accelerator 3150. Looks like it suffers like an ATI.
What's the reason of this bug? Just happens with ATI cards?
-
The reason is the global OpenGL context managed by SFML, which is destroyed at global exit. Apparently ATI/Intel drivers don't like that.