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

Author Topic: Small bug  (Read 1876 times)

0 Members and 1 Guest are viewing this topic.

lucjansz

  • Newbie
  • *
  • Posts: 1
    • View Profile
Small bug
« on: February 03, 2009, 01:06:57 am »
Hi

Firstly thank you for SFML, I like it, since it is written in modern-C++ style.

I found probably a small bug. It looks similar to
http://www.sfml-dev.org/forum/viewtopic.php?t=956&start=0&postdays=0&postorder=asc&highlight=console+closing+error

Try this simple program
Code: [Select]

int main(){
   sf::String t;
   std::cin.get();
}

Closing console window by mouse ends with error.
In debug you can read:
Quote

An internal OpenGl call failed in Image.cpp (750) : GL_INVALID_OPERATION, the specified operation is not allowed in current state

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Small bug
« Reply #1 on: February 03, 2009, 07:49:02 am »
Yes, I know. It will be fixed in SFML 2.0.
Laurent Gomila - SFML developer

 

anything