| 415 | } |
| 416 | |
| 417 | static void ConvertTexture( const TextureDestInfo & dsti, const TextureInfo & ti ) |
| 418 | { |
| 419 | switch( dsti.Format ) |
| 420 | { |
| 421 | case TexFmt_5650: ConvertTextureT< NativePf5650 >( dsti, ti ); return; |
| 422 | case TexFmt_5551: ConvertTextureT< NativePf5551 >( dsti, ti ); return; |
| 423 | case TexFmt_4444: ConvertTextureT< NativePf4444 >( dsti, ti ); return; |
| 424 | case TexFmt_8888: ConvertTextureT< NativePf8888 >( dsti, ti ); return; |
| 425 | |
| 426 | case TexFmt_CI4_8888: break; |
| 427 | case TexFmt_CI8_8888: break; |
| 428 | |
| 429 | } |
| 430 | #ifdef DAEDALUS_DEBUG_CONSOLE |
| 431 | DAEDALUS_DL_ERROR( "Unhandled format" ); |
| 432 | #endif |
| 433 | } |
| 434 | }; |
| 435 | |
| 436 | static void ConvertPalette(ETLutFmt tlut_format, NativePf8888 * dst, const void * src, u32 count) |
nothing calls this directly
no outgoing calls
no test coverage detected