SFML community forums
Help => Graphics => Topic started by: JohnR551 on February 28, 2010, 02:57:29 pm
-
I'm running the OpenGL example in Visual Studio 2008. And I get a heap corruption crash, but if I comment out:
sf::String Text("This is a rotating cube");
Text.SetPosition(250.f, 300.f);
Text.SetColor(sf::Color(128, 0, 128));
App.Draw(Text);
Its fine. Any explanations?
Thanks[/quote]
-
Is it happening when you exit your application? Are you sure that you don't use release SFML libraries in debug mode?