summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Munaut <246tnt@gmail.com>2013-06-22 09:02:54 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-06-22 09:08:42 -0700
commit23737315ad6f2670bd5d54a6c07c36c9124bd372 (patch)
tree21d7ab0f4a0d0f9629f56f8acb21037fa0c1a856
parentbea6d506a1363af421d58a327ea015c53fb0db0a (diff)
wxgui: fix issue with flickering on Linux created by bea6d506
-rw-r--r--gr-wxgui/src/python/plotter/plotter_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/plotter/plotter_base.py b/gr-wxgui/src/python/plotter/plotter_base.py
index 6d9463458d..40c157347a 100644
--- a/gr-wxgui/src/python/plotter/plotter_base.py
+++ b/gr-wxgui/src/python/plotter/plotter_base.py
@@ -87,7 +87,7 @@ class plotter_base(wx.glcanvas.GLCanvas, common.mutex):
@param parent the parent widgit
"""
attribList = (wx.glcanvas.WX_GL_DOUBLEBUFFER, wx.glcanvas.WX_GL_RGBA)
- wx.glcanvas.GLCanvas.__init__(self, parent, wx.ID_ANY, attribList); # Specifically use the CTOR which does NOT create an implicit GL context
+ wx.glcanvas.GLCanvas.__init__(self, parent, wx.ID_ANY, attribList=attribList); # Specifically use the CTOR which does NOT create an implicit GL context
self._gl_ctx = wx.glcanvas.GLContext(self) # Create the explicit GL context
self.use_persistence=False
self.persist_alpha=2.0/15