Re: [PATCH 6/7] Use surface_is_offscreen instead of directly looking at the swapchain.
March 30, 2010
3:56 p.m.
On 30 March 2010 21:19, Roderick Colenbrander <thunderbird2k(a)gmail.com> wrote:
@@ -4062,7 +4062,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, const * Also beware that the front buffer's surface size is screen width x screen height, * whereas the real gl drawable size is the size of the window. */ - if (dstSwapchain && (IWineD3DSurface *)This == dstSwapchain->frontBuffer) { + if (!surface_is_offscreen((IWineD3DSurface *)This)) { RECT windowsize; POINT offset = {0,0}; UINT h; This looks wrong, the code is checking if the surface is the front buffer, not if it's onscreen.
5839
Age (days ago)
5839
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet