Skip to content

Commit

Permalink
doh: restore r210 support, don't fallback to GL_RGB(a)8 for non-16 bit!
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@16327 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 13, 2017
1 parent d33cd25 commit e60146d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/gl/gl_window_backing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def __init__(self, wid, window_alpha, pixel_depth=0):
self.internal_format = GL_RGB10_A2
if "r210" not in GLWindowBackingBase.RGB_MODES:
GLWindowBackingBase.RGB_MODES.append("r210")
if self.bit_depth==16:
elif self.bit_depth==16:
#GL_UNSIGNED_SHORT_4_4_4_4
#GL_UNSIGNED_SHORT_5_5_5_1
if self._alpha_enabled:
Expand Down

0 comments on commit e60146d

Please sign in to comment.