Skip to content

Commit

Permalink
py3k cython language_level pain: those are bytes
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@20658 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 11, 2018
1 parent a6f8024 commit 9e7d3d0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/xpra/x11/bindings/ximage.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -225,18 +225,18 @@ SBFirst = {
LSBFirst : "LSBFirst"
}

RLE8 = "RLE8"
RGB565 = "RGB565"
BGR565 = "BGR565"
XRGB = "XRGB"
BGRX = "BGRX"
ARGB = "ARGB"
BGRA = "BGRA"
RGB = "RGB"
RGBA = "RGBA"
RGBX = "RGBX"
R210 = "R210"
r210 = "r210"
RLE8 = b"RLE8"
RGB565 = b"RGB565"
BGR565 = b"BGR565"
XRGB = b"XRGB"
BGRX = b"BGRX"
ARGB = b"ARGB"
BGRA = b"BGRA"
RGB = b"RGB"
RGBA = b"RGBA"
RGBX = b"RGBX"
R210 = b"R210"
r210 = b"r210"

RGB_FORMATS = [XRGB, BGRX, ARGB, BGRA, RGB, RGBA, RGBX, R210, r210, RGB565, BGR565, RLE8]

Expand Down

0 comments on commit 9e7d3d0

Please sign in to comment.