[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On March 30, 2002 08:25 pm, Bob wrote:
> Here's a patch to add a get_color_depth function. This just returns
> _color_depth. I needed it for AllegroGL, before the screen gets initialized
> (which rules out bitmap_color_depth(screen)).
>
> If there are no objections, then I will apply it.
;) Only one objection...
+@@int @det_color_depth(int depth);
+@xref set_color_depth
+ Returns the last color depth set by set_color_depth().
How do you 'det' a color depth ;)
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net