Re: wined3d: remove a useless variable

2010-11-14 Thread David Adam
OK. I missed that. Sorry for the noise A+ David 2010/11/14 Nikolay Sivov > On 11/14/2010 22:41, David Adam wrote: > > > > 2010/11/14 Nikolay Sivov > >> On 11/14/2010 22:17, David Adam wrote: >> >> if(wined3d_settings.rendertargetlock_mode == RTL_DISABLE) { >>> -static BOOL

Re: wined3d: remove a useless variable

2010-11-14 Thread David Adam
2010/11/14 Nikolay Sivov > 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 lock

Re: wined3d: remove a useless variable

2010-11-14 Thread André Hentschel
> > -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

Re: wined3d: remove a useless variable

2010-11-14 Thread Nikolay Sivov
On 11/14/2010 22:41, David Adam wrote: 2010/11/14 Nikolay Sivov > On 11/14/2010 22:17, David Adam wrote: if(wined3d_settings.rendertargetlock_mode == RTL_DISABLE) { -static BOOL warned = FALSE; -if(!warned) {

Re: wined3d: remove a useless variable

2010-11-14 Thread Nikolay Sivov
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