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

Author Topic: SFML+OGL text not drawing etc.  (Read 1771 times)

0 Members and 2 Guests are viewing this topic.

troopson

  • Newbie
  • *
  • Posts: 30
    • View Profile
SFML+OGL text not drawing etc.
« on: June 02, 2010, 01:27:45 pm »
Firstly i create a sf::Renderwindow, i turn on PreserverOpenGlStates then i use function specified by myself - InitGL(),then i create sf::String and try do draw it after cleaering the window(using gl functio, because window->clear() doesnt work), it doesnt show. If i draw any texture using OGL and then try to write a text, all screen texture colors change to the text's color bu the text doesnt show...
wtf?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
SFML+OGL text not drawing etc.
« Reply #1 on: June 02, 2010, 01:37:52 pm »
Please provide a complete and minimal example that reproduces the problem. Otherwise we won't be able to help you ;)
Laurent Gomila - SFML developer