delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/31/15:02:19

From: Tom Jelen <jelen AT cis DOT ohio-state DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [allegro] combining many images with different palettes into one?
Date: Sat, 31 Jan 1998 14:46:48 -0500
Organization: The Ohio State University Dept. of Computer and Info. Science
Lines: 24
Message-ID: <34D37FA7.616DC7EC@cis.ohio-state.edu>
References: <34D2BDC1 DOT 2C365D3F AT cis DOT ohio-state DOT edu> <34D2C98D DOT 8A12989E AT cis DOT ohio-state DOT edu> <34D30819 DOT 31D6A663 AT tp DOT silkera DOT net>
NNTP-Posting-Host: ts46-12.homenet.ohio-state.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Liche,

Looks like it's running in true color mode to me.  Just have to make sure you
set_color_depth() before you set_gfx_mode or create any bitmaps.

Tom


Liche wrote:

> Does that mean your program will now run in true color modes?
>
> Tom Jelen wrote:
>
> > Doh,
> >
> > Figured out my problem.  Had to use set_color_depth(24), so they all had
> > the same palette after that.  That's what I get for looking through the
> > v2.2 documention.
> >
> > Tom



- Raw text -


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