SFML community forums

Help => Graphics => Topic started by: nfect on June 29, 2020, 07:42:45 pm

Title: gl flush issues with font.getTexture
Post by: nfect on June 29, 2020, 07:42:45 pm
I'm not sure where it comes from:

An internal OpenGL call failed in Texture.cpp(98).
Expression:
   glFlush()
Error description:
   GL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

I first tried to apply the font texture to the renderstates directly, then I tried to store the texture before applying i, I have no idea what to do so far, any pointer?
Title: Re: gl flush issues with font.getTexture
Post by: eXpl0it3r on July 06, 2020, 11:14:26 pm
What version of SFML are you using?
What's your code?