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