wined3d: remove a useless variable
Nikolay Sivov
nsivov at codeweavers.com
Sun Nov 14 13:19:23 CST 2010
On 11/14/2010 22:17, David Adam wrote:
> if(wined3d_settings.rendertargetlock_mode == RTL_DISABLE) {
> - 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");
> return;
> }
Why is it useless?
More information about the wine-devel
mailing list