You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everybody. I'm currently trying to get an OpenGLWidget to work. I have overloaded the OpenGLQidget and the "initializeGL" function of the widget. This is the overloaded function:
In the line where I try to get the QOpenGLFunctions object from the context python throws:
AttributeError: 'QOpenGLContext' object has no attribute 'functions'
This is clearly wrong as the Documentation for PyQt5 clearly states that there is a "functions()" function returning the current QOpenGLFunctions object.
What am I doing wrong here?
The text was updated successfully, but these errors were encountered:
Hello everybody. I'm currently trying to get an OpenGLWidget to work. I have overloaded the OpenGLQidget and the "initializeGL" function of the widget. This is the overloaded function:
def initializeGL(self):
GL = self.context().functions()
...
In the line where I try to get the QOpenGLFunctions object from the context python throws:
AttributeError: 'QOpenGLContext' object has no attribute 'functions'
This is clearly wrong as the Documentation for PyQt5 clearly states that there is a "functions()" function returning the current QOpenGLFunctions object.
What am I doing wrong here?
The text was updated successfully, but these errors were encountered: