Re: [AD] Desktop resolution

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


> To be consistant with desktop_color_depth() I think they should be
> called desktop_width() and desktop_height().

Two more functions ?

> I think they should return sane values for DOS/Linux, in case someone
> does
> set_gfx_mode(GFX_AUTO, desktop_width(), desktop_height(), 0, 0);

What for doing that ? If you want a fullscreen mode, you don't care about
the desktop resolution and if you want a windowed mode, I don't think using
as large a window as the desktop is a good idea (doesn't work with DirectX
for example).

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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