Skip to content

Commit

Permalink
fix(native): mark ZkColor as packed and sizeof() == 4
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Nov 11, 2023
1 parent 8cb5237 commit e631a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZenKit/NativeLoader/NativeFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3636,7 +3636,7 @@ public delegate void ZkDaedalusVm_registerExternalDefault(UIntPtr slf, ZkDaedalu

namespace NativeStructs
{
[StructLayout(LayoutKind.Sequential)]
[StructLayout(LayoutKind.Sequential, Pack = 1, Size = 4)]
public struct ZkColor
{
public byte R, G, B, A;
Expand Down

0 comments on commit e631a8f

Please sign in to comment.