[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH 6/7] Use surface_is_offscreen instead of directly looking
From: Henri Verbeet <hverbeet () gmail ! com>
Date: 2010-03-30 20:56:38
Message-ID: d658b69e1003301356x27a33d98hde582ae0ab2d1e2c () mail ! gmail ! com
[Download RAW message or body]
On 30 March 2010 21:19, Roderick Colenbrander <thunderbird2k@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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic