Skip to content

Commit 769850f

Browse files
committed
fix(cmpmips): i forgot the header files
1 parent f6397a1 commit 769850f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmp_compressonatorlib/common.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ struct CMP_CMIPS
164164
void FreeMipSet(CMP_MipSet* pMipSet); // Removes entire mipset
165165
void FreeMipLevelData(CMP_MipLevel* pMipLevel); // removes a single miplevel generated by ...MipLevelData()
166166

167+
// TODO: We need to swap all uses to use this rather than the formatless one, OR to track the format inside the miplevel
168+
// This is due to the differing requirements for freeing Vec8's used for CMP_BASIS, which is usually disabled. - ProbablePrime
169+
void FreeMipLevelData(CMP_MipLevel* pMipLevel, CMP_FORMAT setFormat); // Format overload for FreeMipLevelData.
170+
167171
bool AllocateCompressedDestBuffer(CMP_MipSet* SourceTexture, CMP_FORMAT format, CMP_MipSet* DestTexture);
168172

169173
// Progress

0 commit comments

Comments
 (0)