Skip to content

Commit

Permalink
oops "rgb24" is not a pixel rgb format!
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@6185 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 27, 2014
1 parent c23011b commit 2c371ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/window_backing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def paint_mmap(self, img_data, x, y, width, height, rowstride, options, callback
""" see _mmap_send() in server.py for details """
assert self.mmap_enabled
data = mmap_read(self.mmap, img_data)
rgb_format = options.get("rgb_format", "rgb24")
rgb_format = options.get("rgb_format", "RGB")
#Note: BGR(A) is only handled by gl_window_backing
if rgb_format in ("RGB", "BGR"):
self.do_paint_rgb24(data, x, y, width, height, rowstride, options, callbacks)
Expand Down

0 comments on commit 2c371ff

Please sign in to comment.