[9/10] WineD3D: Update the overlay when the destination was drawn to

Alexandre Julliard julliard at winehq.org
Wed Aug 20 08:03:47 CDT 2008


Stefan Dösinger <stefan at codeweavers.com> writes:

> @@ -4550,13 +4558,22 @@ static WINED3DSURFTYPE WINAPI IWineD3DSurfaceImpl_GetImplType(IWineD3DSurface *i
>  static HRESULT WINAPI IWineD3DSurfaceImpl_DrawOverlay(IWineD3DSurface *iface) {
>      IWineD3DSurfaceImpl *This = (IWineD3DSurfaceImpl *) iface;
>      HRESULT hr;
> +    static BOOL recursive = FALSE;

That static looks very suspicious. It should either be stored in the
object or use some sort of locking.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list