SFML community forums

Help => Graphics => Topic started by: Richy19 on December 12, 2011, 02:59:55 am

Title: Texture fails in custom openGL
Post by: Richy19 on December 12, 2011, 02:59:55 am
Im trying to use sf::Textures with custom openGL but I get these errors:

An internal OpenGL call failed in Texture.cpp (418) : GL_INVALID_VALUE, a numeric argument is out of range

When loading the image, and:

An internal OpenGL call failed in Texture.cpp (352) : GL_INVALID_OPERATION, the specified operation is not allowed in the current state

When calling sf::Texture.Bind()
Title: Texture fails in custom openGL
Post by: Nexus on December 12, 2011, 07:27:43 am
Can you post a minimal and complete example reproducing the problem? Does the problem also appear with the SFML OpenGL sample?