diff options
Diffstat (limited to 'examples/opengl/contextinfo.py')
| -rw-r--r-- | examples/opengl/contextinfo.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/opengl/contextinfo.py b/examples/opengl/contextinfo.py index a963b8952..fce400e70 100644 --- a/examples/opengl/contextinfo.py +++ b/examples/opengl/contextinfo.py @@ -48,8 +48,9 @@ from textwrap import dedent from PySide2.QtCore import QCoreApplication, QLibraryInfo, QSize, QTimer, Qt -from PySide2.QtGui import (QMatrix4x4, QOpenGLBuffer, QOpenGLContext, QOpenGLShader, - QOpenGLShaderProgram, QOpenGLVertexArrayObject, QSurfaceFormat, QWindow) +from PySide2.QtGui import (QMatrix4x4, QOpenGLContext, QSurfaceFormat, QWindow) +from PySide2.QtOpenGL import (QOpenGLBuffer, QOpenGLShader, + QOpenGLShaderProgram, QOpenGLVertexArrayObject) from PySide2.QtWidgets import (QApplication, QHBoxLayout, QMessageBox, QPlainTextEdit, QWidget) from PySide2.support import VoidPtr |
