How to rotate an image when use glDrawPixels() ?

How to rotate an image when use glDrawPixels() ?