I know there has been an issue with the sf::text constructor and the default font recently. Just downloaded the latest SFML release version (SFML-2.0-rc, debug libs, dynamic link) with codeblocks 10.05, Windows 7 and I get this error output to the console:
It repeats these two errors a total of 3 times...
An internal OpenGL call failed in Texture.cpp (146) : GL_INVALID_ENUM, an unacceptable value has been specified for an enumerated argument.
An internal OpenGL call failed in Texture.cpp (147) : GL_INVALID_ENUM, an unacceptable value has been specified for an enumerated argument.
Heres my code:
sf::Font mFont;
mFont.loadFromFile("fonts/arial.ttf");
sf::Text mText("Hello",mFont);
Its only when I initialize the sf::text or set the string it produces these errors. It will still draw and display correctly though. Just thought it might mean something.
Ps: love the new forum layout.