[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: PATCH: DDraw::CreateSurface bug workaround
From:       Marcus Meissner <marcus () jet ! franken ! de>
Date:       2001-01-29 19:49:08
[Download RAW message or body]

On Mon, Jan 29, 2001 at 01:56:04AM +0100, Joerg Mayer wrote:
> On Sun, Jan 28, 2001 at 11:46:51PM +0100, Marcus Meissner wrote:
> > +    if (!(pDDSD->dwFlags & DDSD_CAPS)) {
> > +	/* DVIDEO.DLL does forget the DDSD_CAPS flag ... *sigh* */
> > +    	pDDSD->dwFlags |= DDSD_CAPS;
> > +    }
> 
> As modern Processors don't like jumps, why not shorten this to just:
> +	/* DVIDEO.DLL does forget the DDSD_CAPS flag ... *sigh* */
> +    	pDDSD->dwFlags |= DDSD_CAPS;
> ?

Not sure, it changes the meaning of the code.

CIao, Marcus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic