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

Author Topic: OpenGL heap corruption  (Read 1827 times)

0 Members and 1 Guest are viewing this topic.

JohnR551

  • Newbie
  • *
  • Posts: 1
    • View Profile
OpenGL heap corruption
« 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]

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL heap corruption
« Reply #1 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?
Laurent Gomila - SFML developer