Commit cc821415 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Render upside down when rendering offscreen, even if the backbuffer is used to render to.

parent 4bc81256
......@@ -7609,6 +7609,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ActiveRender(IWineD3DDevice* iface,
implicitSwapchainImpl->drawable = newContext->drawable;
implicitSwapchainImpl->render_ctx = newContext->context;
}
} else {
/* Same context, but update renderUpsideDown and cull mode */
device_render_to_texture(This, TRUE);
}
/* Replace the render target */
......
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