Mail Archives: djgpp/1998/03/23/16:31:32
James W Sager Iii writes:
> /* Problem arises due to the set_pallete statement,
> * though execution continues until the while loop
> */ at which time the computer freezes up.
> set_pallete(stndpal);
Well, your code looks fine to me now. The only thing I can think is to
try using various different drivers and video modes instead of just
letting it autodetect, to hopefully figure out exactly what is causing
the problem. Also, have you seen similar crashes with any other Allegro
programs? (pretty much everything sets the palette, so I would expect
you to see this in other places as well).
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -