Skip to content

Commit

Permalink
gl: fix planar RGB shader - input is GBR not RGB
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@3927 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
Arthur Huillet committed Jul 21, 2013
1 parent c58fd77 commit 1d3c394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xpra/client/gl/gl_colorspace_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
TEX R0.x, fragment.texcoord[2], texture[2], RECT;
TEX R1.x, fragment.texcoord[1], texture[1], RECT;
MOV result.color.w, fragment.color.primary;
MOV result.color.z, R0.x;
MOV result.color.y, R1.x;
TEX result.color.x, fragment.texcoord[0], texture[0], RECT;
MOV result.color.x, R0.x;
MOV result.color.z, R1.x;
TEX result.color.y, fragment.texcoord[0], texture[0], RECT;
END
# 6 instructions, 2 R-regs
"""

0 comments on commit 1d3c394

Please sign in to comment.