How do you rotate a texture map? Also how to minimize distortion?
Why rotating the texture map? Try rotation of texture coordinates on the texture map.
I don’t really see what this has to do with Windows specifically.
But, you can rotate the texture map in GL_TEXTURE matrix mode:
And minimizing distortion has nothing to do with OpenGL or rotating textures.
That sounds like a UV mapping problem.