Re: Fix for ddraw: CreateSurface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Updated patch is attached.

If I get caught, it'll be 4 tardies in a row (BTTF ;))

 --- Lionel Ulmer <lionel.ulmer@free.fr> a écrit : 
> > Do you think I should check for the OVERLAY flag into CreateSurface
> or
> > into createoffscreen ?
> 
> I would put this before the 'else assume ...' case and would return
> the
> error here (so as the day we will support them, it would be just
> another
> case in the if / else if / else if / else code).
> 
> Something like that :
> 
> else if (ZBUFFER) {
>   (...)
> } else if (OVERLAY) {
>   return ERROR;
> } else {
>   FIXME(....)
> }
> 
> -- 
> 		 Lionel Ulmer - http://www.bbrox.org/ 

=====
Sylvain Petreolle (spetreolle at users dot sourceforge dot net) 
ICQ #170597259
No more War !

"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".

For the Law of Oil and Fire, Im an European that lives in France.
For all my Brothers and friends, Im a human living on Earth.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

Attachment: CreateSurface.diff
Description: CreateSurface.diff


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux