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

Author Topic: Failed to activate OpenGL context: An internal OpenGL call failed in Textur  (Read 2857 times)

0 Members and 1 Guest are viewing this topic.

hdsiria

  • Newbie
  • *
  • Posts: 23
    • View Profile

when i close my game. the background cmd window show :

Failed to activate OpenGL context:

An internal OpenGL call failed in Texture.cpp<104>
Expression:
 glDeleteTexture(1,&texture)
Error description:
 GL_INVALID_OPERATION
 The specified operation is not allowed in the current stats.

 

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Are you using any SFML resources (like a texture or window) at a global scope?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

hdsiria

  • Newbie
  • *
  • Posts: 23
    • View Profile
I finally found out that there was a class instance using tgui that was not deleted  :(