///////////////////////////////////////////////////////
| 787 | |
| 788 | //////////////////////////////////////////////////////////// |
| 789 | void RenderTarget::applyTransform(const Transform& transform) |
| 790 | { |
| 791 | // No need to call glMatrixMode(GL_MODELVIEW), it is always the |
| 792 | // current mode (for optimization purpose, since it's the most used) |
| 793 | if (transform == Transform::Identity) |
| 794 | glCheck(glLoadIdentity()); |
| 795 | else |
| 796 | glCheck(glLoadMatrixf(transform.getMatrix())); |
| 797 | } |
| 798 | |
| 799 | |
| 800 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected