wined3d: Read offscreen render targets upside down when blitting them to a texture.

This commit is contained in:
Stefan Dösinger 2007-02-15 13:51:55 +01:00 committed by Alexandre Julliard
parent a41ba013b6
commit 20a07693b5
1 changed files with 4 additions and 0 deletions

View File

@ -2492,6 +2492,10 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
rect.x1 = tmp;
upsideDown = !upsideDown;
}
if(!srcSwapchain) {
TRACE("Reading from an offscreen target\n");
upsideDown = !upsideDown;
}
if(rect.x2 - rect.x1 != srect.x2 - srect.x1) {
stretchx = TRUE;