| 745 | |
| 746 | |
| 747 | ILboolean ILAPIENTRY ilCompressFunc(ILenum Mode) |
| 748 | { |
| 749 | switch (Mode) |
| 750 | { |
| 751 | case IL_COMPRESS_NONE: |
| 752 | case IL_COMPRESS_RLE: |
| 753 | //case IL_COMPRESS_LZO: |
| 754 | case IL_COMPRESS_ZLIB: |
| 755 | ilStates[ilCurrentPos].ilCompression = Mode; |
| 756 | break; |
| 757 | default: |
| 758 | ilSetError(IL_INVALID_PARAM); |
| 759 | return IL_FALSE; |
| 760 | } |
| 761 | return IL_TRUE; |
| 762 | } |
| 763 | |
| 764 | |
| 765 | //! Pushes the states indicated by Bits onto the state stack |
nothing calls this directly
no test coverage detected