| 298 | |
| 299 | |
| 300 | ILenum UtxFormatToDevIL(ILuint Format) |
| 301 | { |
| 302 | switch (Format) |
| 303 | { |
| 304 | case UTX_P8: |
| 305 | return IL_COLOR_INDEX; |
| 306 | case UTX_DXT1: |
| 307 | return IL_RGBA; |
| 308 | } |
| 309 | return IL_BGRA; // Should never reach here. |
| 310 | } |
| 311 | |
| 312 | |
| 313 | ILuint UtxFormatToBpp(ILuint Format) |