MCPcopy Create free account
hub / github.com/carbonengine/trinity / Cancel

Method Cancel

trinity/Tr2DxtCompressor.cpp:935–943  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Cancels texture compression if it is not done yet. --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

933// Cancels texture compression if it is not done yet.
934// --------------------------------------------------------------------------------------
935void Tr2DxtCompressControl::Cancel()
936{
937 m_cancel = true;
938 if( s_wodBackgroundCompressor && !m_isDone )
939 {
940 s_wodBackgroundCompressor->Cancel( m_id );
941 m_isDone = true;
942 }
943}
944
945// --------------------------------------------------------------------------------------
946// Description:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected