Re: DDraw: Add a few missing WINAPIs

2009-09-12 Thread Stefan Dösinger
Am Saturday 12 September 2009 23:50:47 schrieb Henri Verbeet: > 2009/9/12 Stefan Dösinger : > > I wonder how this worked in the past, and why the compiler didn't > > complain. > > It's pretty simple really, these functions don't need WINAPI because > they're ddraw internal functions "cleverly" disg

Re: DDraw: Add a few missing WINAPIs

2009-09-12 Thread Stefan Dösinger
Am Saturday 12 September 2009 23:41:00 schrieb Stefan Dösinger: > Am Saturday 12 September 2009 23:25:56 schrieb Stefan Dösinger: > > Oops: forgot the patch: Er, never mind that patch - those functions aren't used directly in the vtable. There are the FPUSetup and FPUPreserve wrappers around them

Re: DDraw: Add a few missing WINAPIs

2009-09-12 Thread Henri Verbeet
2009/9/12 Stefan Dösinger : > I wonder how this worked in the past, and why the compiler didn't complain. It's pretty simple really, these functions don't need WINAPI because they're ddraw internal functions "cleverly" disguised as vtable methods. IIRC it's actually harmful to add WINAPI to these