Re: [AD] windowed mode patch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Michael Bukin <M.A.Bukin@xxxxxxxxxx> writes:
> After installing SYSTEM_XWIN driver in allegro_init (install_allegro),
> window depth is accessible as _xwin.window_depth. It should not be used
> as fastest color depth, though. Best color depth for Allegro screen can
> be calculated by the following table:
>
> window_depth set_color_depth
>
> <= 8 8
> <= 16 16
> other 32
Great, thanks: I'll make a new system driver function that can return this
information.
--
Shawn Hargreaves - shawn@xxxxxxxxxx - http://www.talula.demon.co.uk/
"A binary is barely software: it's more like hardware on a floppy disk."