I'm following some examples of using SFML in Qt, but they are producing errors.
Everything seems to work and the texture displays, but the console is producing the following error during the call to draw():
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.
Is it okay to ignore these errors?
edit:
Event polling isn't supported either. How do you poll events in a SFML render window hosted by a QWidget?I've found a project called QSFML which implements event polling, and I seem to have that working now. QSFML also seems to suffer from the GL_INVALID_OPERATION errors though.