Skip to content

Commit

Permalink
OpenGL: document self.textures and remove useless comment about doubl…
Browse files Browse the repository at this point in the history
…e buffering

git-svn-id: https://xpra.org/svn/Xpra/trunk@933 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
Arthur Huillet committed Jun 18, 2012
1 parent c05c7c1 commit 588bce1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/xpra/gl_client_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ class GLClientWindow(ClientWindow):
def __init__(self, client, wid, x, y, w, h, metadata, override_redirect):
ClientWindow.__init__(self, client, wid, x, y, w, h, metadata, override_redirect)
display_mode = (gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_SINGLE)
#FIXME: We use single buffer because double doesn't work, figure out why
self.glconfig = gtk.gdkgl.Config(mode=display_mode)
self.glarea = gtk.gtkgl.DrawingArea(self.glconfig)
self.glarea.set_size_request(w, h)
self.glarea.show()
self.add(self.glarea)
self._on_close = []
self.textures = [ 0 ]
self.textures = [ 0 ] # OpenGL texture IDs

def do_configure_event(self, event):
ClientWindow.do_configure_event(self, event)
Expand Down

0 comments on commit 588bce1

Please sign in to comment.