From: Robin Dunn Date: Thu, 9 Nov 2006 20:02:42 +0000 (+0000) Subject: pass sys.argv to glutInit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0a49a386091fe3c1f2f9007ea971ab27b9890fbb pass sys.argv to glutInit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/GLCanvas.py b/wxPython/demo/GLCanvas.py index dd8716e63e..efffd3d9b5 100644 --- a/wxPython/demo/GLCanvas.py +++ b/wxPython/demo/GLCanvas.py @@ -1,5 +1,6 @@ import wx +import sys try: from wx import glcanvas @@ -230,7 +231,7 @@ class ConeCanvas(MyCanvasBase): # position viewer glTranslatef(0.0, 0.0, -2.0); # - glutInit([]) + glutInit(sys.argv) def OnDraw(self):