Skip to content

Commit

Permalink
glBlendFunc does it, no need for glEnable(i) and GL_BLEND
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@23265 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 22, 2019
1 parent 33922bb commit 40f1198
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/xpra/client/gl/gl_window_backing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,6 @@ def do_present_fbo(self):
glBindTexture(target, self.textures[TEX_FBO])
if self._alpha_enabled:
# support alpha channel if present:
glEnablei(GL_BLEND, self.textures[TEX_FBO])
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE)
glBegin(GL_QUADS)
Expand Down

0 comments on commit 40f1198

Please sign in to comment.