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

Author Topic: gl flush issues with font.getTexture  (Read 1131 times)

0 Members and 1 Guest are viewing this topic.

nfect

  • Newbie
  • *
  • Posts: 16
    • View Profile
gl flush issues with font.getTexture
« 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?
« Last Edit: June 29, 2020, 07:56:32 pm by nfect »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: gl flush issues with font.getTexture
« Reply #1 on: July 06, 2020, 11:14:26 pm »
What version of SFML are you using?
What's your code?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/