aboutsummaryrefslogtreecommitdiffstats
path: root/examples/opengl/contextinfo/contextinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/contextinfo/contextinfo.py')
-rw-r--r--examples/opengl/contextinfo/contextinfo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/contextinfo/contextinfo.py b/examples/opengl/contextinfo/contextinfo.py
index ed7b8ca72..5a64f168e 100644
--- a/examples/opengl/contextinfo/contextinfo.py
+++ b/examples/opengl/contextinfo/contextinfo.py
@@ -62,7 +62,7 @@ except ImportError:
"PyOpenGL must be installed to run this example.",
QMessageBox.Close)
message_box.setDetailedText("Run:\npip install PyOpenGL PyOpenGL_accelerate")
- message_box.exec_()
+ message_box.exec()
sys.exit(1)
vertex_shader_source_110 = dedent("""
@@ -289,4 +289,4 @@ if __name__ == '__main__':
main_window = MainWindow()
main_window.show()
main_window.update_description()
- sys.exit(app.exec_())
+ sys.exit(app.exec())