wined3d: Render upside down when rendering offscreen, even if the backbuffer is used to render to.
This commit is contained in:
parent
4bc8125648
commit
cc821415ae
|
@ -7609,6 +7609,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ActiveRender(IWineD3DDevice* iface,
|
||||||
implicitSwapchainImpl->drawable = newContext->drawable;
|
implicitSwapchainImpl->drawable = newContext->drawable;
|
||||||
implicitSwapchainImpl->render_ctx = newContext->context;
|
implicitSwapchainImpl->render_ctx = newContext->context;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
/* Same context, but update renderUpsideDown and cull mode */
|
||||||
|
device_render_to_texture(This, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Replace the render target */
|
/* Replace the render target */
|
||||||
|
|
Loading…
Reference in New Issue