Re: [AD] d3d_disp.c broken?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-08-09, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> On Sat, August 9, 2008 10:55 am, Peter Wang said:
> > Hi, it looks like there are references to al_d3d in d3d_disp.c
> > but it's not defined anywhere.
> >
> > Peter
> 
> d3d_disp.c was supposed to be removed and d3d_disp.cpp put in. Which
> brings up the point, is it ok to have C++ in a driver code? It will
> make the D3D driver much cleaner, but not only that, using the C
> interface doesn't work like it should when inheritance is used
> (which I need to support true multihead on Vista and still have
> backwards compatability with < Vista). I'm very close now to having
> multihead working on < Vista, so I will commit the changes hopefully
> soon.

I'm getting this error, using the headers from
http://trent.gamblin.ca/dx/

src/win/wnewwin.c: In function `_al_win_create_faux_fullscreen_window':
src/win/wnewwin.c:195: error: `DM_POSITION' undeclared (first use in this function)

The C++ sounds fine. I'm a little worried about the ABI issues though.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/