aboutsummaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogl2.py
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-12-04 16:51:29 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-12-05 08:51:03 +0000
commitfe0c357d1bfb109520e5ef3ae4cd4556819fb5d1 (patch)
tree1c43e944bf33f1b71028659865a4338bc3026d82 /examples/opengl/hellogl2.py
parentf9d4a28fef8b234b6ef173fc3d21408f67b37472 (diff)
Fix shiboken2 module import from example
Change-Id: If2783d4796dced281a5f90c3847ac105860f1807 Fixes: PYSIDE-866 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/opengl/hellogl2.py')
-rwxr-xr-xexamples/opengl/hellogl2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellogl2.py b/examples/opengl/hellogl2.py
index e1af6f2a6..b8d1c0e7d 100755
--- a/examples/opengl/hellogl2.py
+++ b/examples/opengl/hellogl2.py
@@ -52,7 +52,7 @@ from PySide2.QtGui import (QVector3D, QOpenGLFunctions, QOpenGLVertexArrayObject
QOpenGLShaderProgram, QMatrix4x4, QOpenGLShader, QOpenGLContext, QSurfaceFormat)
from PySide2.QtWidgets import (QApplication, QWidget, QMessageBox, QHBoxLayout, QSlider,
QOpenGLWidget)
-from PySide2.shiboken2 import VoidPtr
+from shiboken2 import VoidPtr
try:
from OpenGL import GL