Sets the default origin to be used.
| 684 | |
| 685 | //! Sets the default origin to be used. |
| 686 | ILboolean ILAPIENTRY ilOriginFunc(ILenum Mode) |
| 687 | { |
| 688 | switch (Mode) |
| 689 | { |
| 690 | case IL_ORIGIN_LOWER_LEFT: |
| 691 | case IL_ORIGIN_UPPER_LEFT: |
| 692 | ilStates[ilCurrentPos].ilOriginMode = Mode; |
| 693 | break; |
| 694 | default: |
| 695 | ilSetError(IL_INVALID_PARAM); |
| 696 | return IL_FALSE; |
| 697 | } |
| 698 | return IL_TRUE; |
| 699 | } |
| 700 | |
| 701 | |
| 702 | //! Sets the default format to be used. |
nothing calls this directly
no test coverage detected