cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/15/14:23:30

From: chakster AT geocities DOT com
Message-ID: <350C2987.7ED62B4E@geocities.com>
Date: Sun, 15 Mar 1998 14:18:31 -0500
MIME-Version: 1.0
To: DJGPP <djgpp AT delorie DOT com>
Subject: color depth in allegro

Is it possible to have color depths greater than 256 with allegro?  I am
using the following line to initialize graphics:

set_gfx_mode(GFX_AUTODETECT, 800, 600, 0, 0);

but I seem to be limitted to 256 colors.  Besides, the RGB structure is
an array of 256 objects.  Can I use 16 and 32 bit color somehow?

Thanks,
Dan Chak
chakster AT geocities DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019