Skip to content

Commit

Permalink
Fix data types for mNormalMapFormat in D3DTX_V6 and D3DTX_V7
Browse files Browse the repository at this point in the history
  • Loading branch information
iMrShadow committed Mar 19, 2024
1 parent 38d0fe9 commit f8d03e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public class D3DTX_V6
/// <summary>
/// [4 bytes] Defines the format of the normal map.
/// </summary>
public float mNormalMapFormat { get; set; }
public int mNormalMapFormat { get; set; }

/// <summary>
/// [4 bytes] Defines the brightness scale of the texture. (used for lightmaps)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public class D3DTX_V7
/// <summary>
/// [4 bytes] Defines the format of the normal map.
/// </summary>
public float mNormalMapFormat { get; set; }
public int mNormalMapFormat { get; set; }

/// <summary>
/// [4 bytes] Defines the brightness scale of the texture. (used for lightmaps)
Expand Down

0 comments on commit f8d03e0

Please sign in to comment.