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

Author Topic: Texture fails in custom openGL  (Read 2013 times)

0 Members and 1 Guest are viewing this topic.

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Texture fails in custom openGL
« 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()

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Texture fails in custom openGL
« Reply #1 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?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything