Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmp_compressonatorlib/compressonator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ CMP_ERROR CMP_API CMP_ConvertTexture(CMP_Texture* pSourceTexture,
CodecType destType = GetCodecType(pDestTexture->format);
assert(destType != CT_Unknown);
if (destType == CT_Unknown)
return CMP_ERR_UNSUPPORTED_SOURCE_FORMAT;
return CMP_ERR_UNSUPPORTED_DEST_FORMAT;

// Figure out the type of processing we are doing

Expand Down