MCPcopy Create free account
hub / github.com/DentonW/DevIL / DecompressDXT4

Function DecompressDXT4

DevIL/src-IL/src/il_dds.cpp:1108–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106
1107
1108ILboolean DecompressDXT4(ILimage *lImage, ILubyte *lCompData)
1109{
1110 // Can do color & alpha same as dxt5, but color is pre-multiplied
1111 // so the result will be wrong unless corrected.
1112 if (!DecompressDXT5(Image, CompData))
1113 return IL_FALSE;
1114 CorrectPreMult();
1115
1116 return IL_FALSE;
1117}
1118
1119
1120ILboolean DecompressDXT5(ILimage *lImage, ILubyte *lCompData)

Callers 1

DdsDecompressFunction · 0.85

Calls 2

DecompressDXT5Function · 0.85
CorrectPreMultFunction · 0.85

Tested by

no test coverage detected