SFML community forums

Help => Graphics => Topic started by: JohnR551 on February 28, 2010, 02:57:29 pm

Title: OpenGL heap corruption
Post 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:
Code: [Select]
       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]
Title: OpenGL heap corruption
Post by: Laurent on February 28, 2010, 04:30:06 pm
Is it happening when you exit your application? Are you sure that you don't use release SFML libraries in debug mode?