diff options
Diffstat (limited to 'sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py')
| -rw-r--r-- | sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py b/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py index 61367286d..5611ab75e 100644 --- a/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py +++ b/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py @@ -37,7 +37,7 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1])) from init_paths import init_test_paths init_test_paths(False) -from helper.usesqapplication import UsesQApplication +from helper.usesqguiapplication import UsesQGuiApplication from PySide6.QtCore import QSize, QTimer, Qt from PySide6.QtGui import (QColor, QGuiApplication, QImage, QOpenGLContext, @@ -101,7 +101,7 @@ class OpenGLWindow(QOpenGLWindow): self.m_functions.glViewport(0, 0, self.width(), self.height()) -class QOpenGLWindowTest(UsesQApplication): +class QOpenGLWindowTest(UsesQGuiApplication): # On macOS, glClear(), glViewport() are rejected due to GLbitfield/GLint not being resolved properly def test(self): openGlWindow = OpenGLWindow() |
