Commit 20a07693 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

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

parent a41ba013
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment