MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ConvertTexture

Method ConvertTexture

Source/HLEGraphics/ConvertImage.cpp:353–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351 }
352
353 static void ConvertTexture( const TextureDestInfo & dsti, const TextureInfo & ti )
354 {
355 switch( dsti.Format )
356 {
357 case TexFmt_5650: ConvertTextureT< NativePf5650 >( dsti, ti ); return;
358 case TexFmt_5551: ConvertTextureT< NativePf5551 >( dsti, ti ); return;
359 case TexFmt_4444: ConvertTextureT< NativePf4444 >( dsti, ti ); return;
360 case TexFmt_8888: ConvertTextureT< NativePf8888 >( dsti, ti ); return;
361
362 case TexFmt_CI4_8888: break;
363 case TexFmt_CI8_8888: break;
364
365 }
366 #ifdef DAEDALUS_DEBUG_CONSOLE
367 DAEDALUS_DL_ERROR( "Unhandled format" );
368 #endif
369 }
370};
371
372struct SConvertI4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected