Skip to content

Commit

Permalink
re-order for consistency
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@26898 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 6, 2020
1 parent 7ec9d63 commit cdd4da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/codecs/argb/argb.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ def argb_swap(image, rgb_formats, supports_transparency):
if "RGBX" in rgb_formats:
log("argb_swap: r210_to_rgbx for %s on %s", pixel_format, type(pixels))
image.set_pixels(r210_to_rgbx(pixels, w, h, rs, w*4))
image.set_rowstride(w*4)
image.set_pixel_format("RGBX")
image.set_rowstride(w*4)
return True
elif pixel_format=="BGR565":
if "RGB" in rgb_formats:
Expand Down

0 comments on commit cdd4da2

Please sign in to comment.