| 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 | |
| 372 | struct SConvertI4 |
nothing calls this directly
no outgoing calls
no test coverage detected