Skip to content

Commit be8c840

Browse files
Add AR12 bitconverter to DDS.cs
1 parent 70f784b commit be8c840

File tree

1 file changed

+2
-1
lines changed
  • xivModdingFramework/Textures/FileTypes

1 file changed

+2
-1
lines changed

xivModdingFramework/Textures/FileTypes/DDS.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public static class DDS
5858
{ (uint)BitConverter.ToInt32(Encoding.ASCII.GetBytes("BC4U"), 0) , XivTexFormat.BC4 },
5959
{ (uint)BitConverter.ToInt32(Encoding.ASCII.GetBytes("ATI2"), 0) , XivTexFormat.BC5 },
6060
{ (uint)BitConverter.ToInt32(Encoding.ASCII.GetBytes("BC5U"), 0) , XivTexFormat.BC5 },
61+
{ (uint)BitConverter.ToInt32(Encoding.ASCII.GetBytes("AR12"), 0) , XivTexFormat.A4R4G4B4 },
6162
{ (uint)BitConverter.ToInt32(Encoding.ASCII.GetBytes("AR15"), 0) , XivTexFormat.A1R5G5B5 },
6263

6364
//ARGB 16F
@@ -1078,4 +1079,4 @@ public enum DXGI_FORMAT : uint
10781079
DXGI_FORMAT_FORCE_UINT
10791080
};
10801081
}
1081-
}
1082+
}

0 commit comments

Comments
 (0)