RE: [AD] desktopresolution (2) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> IMHO get_desktop_resolution() should be a test for telling fullscreen only
> OSes (DOS, Linux console) from true windowed ones.
the use of knowing if you can have a window or a fullscreen mode is
in most cases cosmetic, but knowing what you can set on a vesa fbcon
is vital, as the mode is fixed at boot time (and, as you may know,
unix boxen are not supposed to be rebooted at the user's whim (well,
okay, if running fbcon, it's probably a single user machine anyway ...))
how about:
get_desktop_rseolution(int *x,int *y,int *windowed) then ?
--
Lyrian