[AD] [WIN] DirectDraw2 support |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
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
Attachment:
ddraw2.zip
Description: Zip compressed data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |