[AD] al_get_num_display_modes and al_get_display_mode

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


These functions are currently broken. They were using the values set by al_set_new_display_format but we don't have
that any longer, and to replace al_get_new_display_format, _al_deduce_color_format was added. This doesn't work unless
the user sets up his desired graphics mode entirely first and I'm not sure it will work even then. I suggest we remove
the dependancy on certain formats, refresh rates, and flags, and simply return _all_ of the available fullscreen
display modes allowed. The ALLEGRO_DISPLAY_MODE structure would be unchanged, I think.


Trent :{)>




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