30 Mar
2010
30 Mar
'10
8: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.