SFML community forums

Help => Window => Topic started by: hdsiria on February 17, 2024, 05:36:44 am

Title: Failed to activate OpenGL context: An internal OpenGL call failed in Textur
Post by: hdsiria on February 17, 2024, 05:36:44 am

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.

 
Title: Re: Failed to activate OpenGL context: An internal OpenGL call failed in Textur
Post by: eXpl0it3r on February 17, 2024, 10:22:34 am
Are you using any SFML resources (like a texture or window) at a global scope?
Title: Re: Failed to activate OpenGL context: An internal OpenGL call failed in Textur
Post by: hdsiria on February 25, 2024, 05:35:26 am
I finally found out that there was a class instance using tgui that was not deleted  :(