Skip to content

Commit

Permalink
Merge pull request #1 from SpyderTL/SpyderTL-issue-638
Browse files Browse the repository at this point in the history
Issue ValveSoftware#638: Fixed C# TextureMap field types
  • Loading branch information
SpyderTL authored Jan 7, 2018
2 parents 167e26e + 1b04b9a commit 3bf7332
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions headers/openvr_api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4583,15 +4583,15 @@ public void Unpack(ref VRControllerState_t unpacked)
}
[StructLayout(LayoutKind.Sequential)] public struct RenderModel_TextureMap_t
{
public char unWidth;
public char unHeight;
public ushort unWidth;
public ushort unHeight;
public IntPtr rubTextureMapData; // const uint8_t *
}
// This structure is for backwards binary compatibility on Linux and OSX only
[StructLayout(LayoutKind.Sequential, Pack = 4)] public struct RenderModel_TextureMap_t_Packed
{
public char unWidth;
public char unHeight;
public ushort unWidth;
public ushort unHeight;
public IntPtr rubTextureMapData; // const uint8_t *
public RenderModel_TextureMap_t_Packed(RenderModel_TextureMap_t unpacked)
{
Expand Down

0 comments on commit 3bf7332

Please sign in to comment.