diff options
Diffstat (limited to 'examples/opengl/hellogl2/hellogl2.py')
-rw-r--r-- | examples/opengl/hellogl2/hellogl2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellogl2/hellogl2.py b/examples/opengl/hellogl2/hellogl2.py index 6dfc032ad..2f170dc90 100644 --- a/examples/opengl/hellogl2/hellogl2.py +++ b/examples/opengl/hellogl2/hellogl2.py @@ -232,7 +232,7 @@ class GLWidget(QOpenGLWidget, QOpenGLFunctions): def __init__(self, transparent, parent=None): QOpenGLWidget.__init__(self, parent) - super().__init__() + QOpenGLFunctions.__init__(self) self._transparent = transparent self._core = QSurfaceFormat.defaultFormat().profile() == QSurfaceFormat.CoreProfile |