Fix for ddraw: CreateSurface

Sylvain Petreolle spetreolle at yahoo.fr
Sat Jun 7 21:14:32 CDT 2003


Updated patch is attached.

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

 --- Lionel Ulmer <lionel.ulmer at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CreateSurface.diff
Type: application/octet-stream
Size: 590 bytes
Desc: CreateSurface.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030608/f804fc6b/CreateSurface.obj


More information about the wine-patches mailing list