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

This commit is contained in:
H. Verbeet 2006-09-26 20:31:28 +02:00 committed by Alexandre Julliard
parent 4bc8125648
commit cc821415ae
1 changed files with 3 additions and 0 deletions

View File

@ -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 */