wined3d: remove a useless variable

André Hentschel nerv at dawncrow.de
Sun Nov 14 13:43:48 CST 2010


>
> -        static BOOL warned = FALSE;
> -        if(!warned) {
> -            ERR("The application tries to lock the render target, but render target locking is disabled\n");
> -            warned = TRUE;
> -        }
> +        ERR("The application tries to lock the render target, but render target locking is disabled\n");
>   

Why is that useless? It supresses console flooding.

-- 

Best Regards, André Hentschel




More information about the wine-devel mailing list