Re: [AD] D3D9 official SDK with MinGW |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
On 2011-02-26, at 4:54 PM, Peter Wang wrote: > On 2011-02-26, Trent Gamblin <trent@xxxxxxxxxx> wrote: >> I've "converted" (fixed un-typesafe stuff mainly) a few files: >> >> wwindow.c >> wsystem.c >> wjoydxnu.c >> directx_shader.c >> prim_directx.c >> >> To C++. Is this ok? The reasoning is all of these files now >> use D3DX which barfs unless they're compiled as C++. > > It's probably okay, but if there is possibility of keeping the core > files wwindow.c and wsystem.c in C (by splitting something out?) then > I'd be more comfortable with it. Can you post the patch? Here's the patch. I'm not going to do it right away so I won't commit this until I have time. I'll try splitting off the things I can.
Attachment:
cpp.diff
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |