Skip to content

Commit

Permalink
Fix A field offset
Browse files Browse the repository at this point in the history
  • Loading branch information
amerkoleci authored Sep 30, 2019
1 parent 9fb2b8b commit 90d4d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vortice.Mathematics/Color.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public struct Color : IPackedVector<uint>, IEquatable<Color>
/// <summary>
/// The alpha component of the color.
/// </summary>
[FieldOffset(2)]
[FieldOffset(3)]
public byte A;

/// <summary>
Expand Down

0 comments on commit 90d4d48

Please sign in to comment.