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

Author Topic: sf::RenderWindow::Clear() causing Unhandled exception  (Read 15643 times)

0 Members and 2 Guests are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
sf::RenderWindow::Clear() causing Unhandled exception
« Reply #30 on: June 08, 2010, 10:55:37 pm »
Ah, you're right. This is something that I always forget :)
Laurent Gomila - SFML developer

petersvp

  • Newbie
  • *
  • Posts: 6
    • View Profile
sf::RenderWindow::Clear() causing Unhandled exception
« Reply #31 on: June 09, 2010, 03:44:06 am »
And the best is to call glClear() directly, because of one flop performance boost :)

I am using SMFL just for event handling and the window. The rest is raw OpenGL. Well, but I am experienced.

p.s. i Don't have problems with window::Clear()

Zatsugami

  • Newbie
  • *
  • Posts: 1
    • AOL Instant Messenger - Grzybowa
    • View Profile
sf::RenderWindow::Clear() causing Unhandled exception
« Reply #32 on: December 29, 2010, 12:07:07 pm »
I had the same problem.
This is how i fixed it... It's stupid, really...
Under VC++ 2008 Project > Properites > Configuration Properties > General
I had this "$(SolutionDir)$(ConfigurationName)" in Output directory field.
So I typed there "Debug". There's field below with "$(ConfigurationName)", so i typed "Debug" too. And it works now... But only under debug mode.

 

anything