[AD] mode list patch committed.

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


now i have commited a patch which implements get_gfx_mode_list and 
destroy_gfx_mode_list functions which queries the graphics drivers for a list 
of possible resolutions & colordepths. brief documentation has been added and 
a common fetch_mode_list() function for all VESA drivers has been implemented.

since my last patch i've let the function exclude <8 bpp and text modes from 
beeing listed and docs have been added.

BTW! would you like this function to check if there is enough video memory to 
set the desired mode? this will of course rely on the driver ALWAYS reporting 
the correct amount of memory, which IIRC is not always the case.

-henrik

Attachment: modelist5.zip
Description: Zip archive



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