delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/27/13:56:38

From: "WWynd's" <warwynd AT australia DOT net DOT au>
Newsgroups: comp.os.msdos.djgpp
References: <351AB7BF DOT 752FC001 AT primary DOT net>
Subject: Re: Allegro and 16-bit color
Date: Fri, 27 Mar 1998 01:44:10 +1100
Lines: 8
NNTP-Posting-Host: m352-61.ans.com.au
Message-ID: <351b1266.0@daisy.ans.com.au>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>   set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0);
>   set_color_depth(16);

Swap the two around you must call color depth before calling screen mode
otherwise will be setting the screen mode to 256colors instead its in one of
the examples.


- Raw text -


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