| 311 | |
| 312 | |
| 313 | ILuint UtxFormatToBpp(ILuint Format) |
| 314 | { |
| 315 | switch (Format) |
| 316 | { |
| 317 | case UTX_P8: |
| 318 | return 1; |
| 319 | case UTX_DXT1: |
| 320 | return 4; |
| 321 | } |
| 322 | return 4; // Should never reach here. |
| 323 | } |
| 324 | |
| 325 | |
| 326 | // Internal function used to load the UTX. |