This one again.
I'm going to try and explain my problem
I have a target machine which has a 1360x768 monitor, physically rotated 90 degrees anti-clockwise (so "top left" pixel is actually bottom-left).
I create a window which is 1360 wide by 768 high.
I then create a View like this:
window1View.Reset(sf::FloatRect(0,0,1360,768));
window1View.SetViewport(sf::FloatRect(0,0,1,1));
window1View.Rotate(270);
window1.SetView(window1View);
I then display a full screen image (which is a rectangle 768 wide by 1360 high).
This is what I see (the red box is the image, and is 472x1064). I scaled the image down 75% so it's not massive
So I am missing 296 pixels of the image on the left (or it's positioned 296 too far left). Also the height of the image is incorrect too. But anyway, it makes no sense to me!
Can anyone help?