Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glMatrixMode(GL_PROJECTION);
- glPushMatrix();
- glLoadIdentity();
- gluOrtho2D(0, m_screenwidth, 0, m_screenheight);
- glScalef(1, -1, 1);
- glTranslatef(0, -m_screenheight, 0);
- glMatrixMode(GL_MODELVIEW);
Add Comment
Please, Sign In to add comment