Skip to content
Browse files

fix: swapped r'n'b color channels to conform to specification

  • Loading branch information...
1 parent 8397b40 commit 340a6793080736e3724df38435778d688f40bb16 @joreg joreg committed Feb 27, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 vvvv45/addonpack/src/nodes/plugins/Devices/LD2000/LD2000Node.cs
View
4 vvvv45/addonpack/src/nodes/plugins/Devices/LD2000/LD2000Node.cs
@@ -438,6 +438,10 @@ unsafe public void Evaluate(int SpreadMax)
pointBuffer[i].Y = v;
FColorIn.GetColor(pointId, out color);
+ //swapping r'n'b
+ var r = color.R;
+ color.R = color.B;
+ color.B = r;
pointBuffer[i].Color = color.Color.ToArgb();
if (pointFlagMap.TryGetValue(pointId, out flag))

0 comments on commit 340a679

Please sign in to comment.
Something went wrong with that request. Please try again.