Skip to content

Commit

Permalink
#679: don't bother clearing the new back buffer: we will repaint all …
Browse files Browse the repository at this point in the history
…of it anyway in the double-buffered case

git-svn-id: https://xpra.org/svn/Xpra/trunk@7603 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 14, 2014
1 parent 6215e3d commit 8461a08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/xpra/client/gl/gl_window_backing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,6 @@ def gl_show(self):
log("%s.gl_show() swapping buffers now", self)
gldrawable = self.get_gl_drawable()
gldrawable.swap_buffers()
# Clear the new backbuffer to illustrate that its contents are undefined
glClear(GL_COLOR_BUFFER_BIT)
else:
#just ensure stuff gets painted:
log("%s.gl_show() flushing", self)
Expand Down

0 comments on commit 8461a08

Please sign in to comment.