Commit 12fb2780 authored by Guillaume Seguin's avatar Guillaume Seguin

Cleanup

parent e2fe8d97
...@@ -94,7 +94,7 @@ class StlViewPanel(wxGLPanel): ...@@ -94,7 +94,7 @@ class StlViewPanel(wxGLPanel):
return return
self.GLinitialized = True self.GLinitialized = True
#create a pyglet context for this panel #create a pyglet context for this panel
self.pygletcontext = Context(current_context) self.pygletcontext = gl.Context(gl.current_context)
self.pygletcontext.canvas = self self.pygletcontext.canvas = self
self.pygletcontext.set_current() self.pygletcontext.set_current()
#normal gl init #normal gl init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment