Re: [AD] [WIN] DirectDraw2 support

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


Hmm
i get this when compiling

src/win/wddbmp.c:74: conflicting types for `gfx_directx_create_surface'
src/win/wddraw.h:90: previous declaration of `gfx_directx_create_surface'
src/win/wddbmp.c:173: conflicting types for `gfx_directx_destroy_surf'
src/win/wddraw.h:49: previous declaration of `gfx_directx_destroy_surf'
src/win/wddbmp.c:244: conflicting types for `make_directx_bitmap'
src/win/wddraw.h:91: previous declaration of `make_directx_bitmap'


better review it, eric, i've seen you have forgotten some '2's :)

----- Original Message -----
From: "Eric Botcazou" <ebotcazou@xxxxxxxxxx>
To: "Allegro conductors" <conductors@xxxxxxxxxx>
Sent: Thursday, February 08, 2001 7:55 PM
Subject: [AD] [WIN] DirectDraw2 support


> Here's a patch that upgrades the DirectDraw code to the DirectDraw2
> interface (the one introduced with DirectX 3 ! Microsoft's consistency...)
>
> Only one method was added (to retrieve the amount of available and free
> video memory) but the display mode setting methods were changed to accept
> the refresh rate as a parameter.
>
> I've coded the refresh rate support, but I don't know whether it actually
> works since my ATI driver seems not to allow DirectX to change it.
>
> (a little program that enumerates all the available graphic modes on a
> particular system, including the refresh rate, is located at
> http://perso.libertysurf.fr/ebotcazou/ddraw2.zip)
>
> --
> Eric Botcazou
> ebotcazou@xxxxxxxxxx
>



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