You will need to use SetTexCoord() and linear transformations to rotate a texture. This
wowpedia link has some mathematical background associated with it, but if you are only interested in grabbing some code to rotate you can probably skip towards the bottom.