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

Method ConvertTexture

Source/HLEGraphics/ConvertImage.cpp:291–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 }
290
291 static void ConvertTexture( const TextureDestInfo & dsti, const TextureInfo & ti )
292 {
293 switch( dsti.Format )
294 {
295 case TexFmt_5650: ConvertTextureT< NativePf5650 >( dsti, ti ); return;
296 case TexFmt_5551: ConvertTextureT< NativePf5551 >( dsti, ti ); return;
297 case TexFmt_4444: ConvertTextureT< NativePf4444 >( dsti, ti ); return;
298 case TexFmt_8888: ConvertTextureT< NativePf8888 >( dsti, ti ); return;
299
300 case TexFmt_CI4_8888: break;
301 case TexFmt_CI8_8888: break;
302
303 }
304 #ifdef DAEDALUS_DEBUG_CONSOLE
305 DAEDALUS_DL_ERROR( "Unhandled format" );
306 #endif
307 }
308};
309
310struct SConvertIA4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected