aboutsummaryrefslogtreecommitdiffstats
path: root/examples/opengl/textures/textures.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/textures/textures.py')
-rw-r--r--examples/opengl/textures/textures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/textures/textures.py b/examples/opengl/textures/textures.py
index e7362da1e..521c099b3 100644
--- a/examples/opengl/textures/textures.py
+++ b/examples/opengl/textures/textures.py
@@ -53,7 +53,7 @@ except ImportError:
"PyOpenGL must be installed to run this example.",
QtWidgets.QMessageBox.Close)
messageBox.setDetailedText("Run:\npip install PyOpenGL PyOpenGL_accelerate")
- messageBox.exec_()
+ messageBox.exec()
sys.exit(1)
import textures_rc
@@ -228,4 +228,4 @@ if __name__ == "__main__":
app = QtWidgets.QApplication(sys.argv)
window = Window()
window.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())