When printing Gamelog, make sure canvas is NULL

This commit is contained in:
zicodxx 2008-11-17 23:28:59 +00:00
parent be02298290
commit 53a15a829a
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20081118
--------
main/console.c: When printing Gamelog, make sure canvas is NULL
20081115
--------
arch/sdl/digi_audio.c: include/error.h, main/console.c, main/inferno.c: Added other SDL_(Un)LockAudio statements to protect the audio_mixcallback function - making that hopefully stable on multicores; Resetting warn_func at quit_request so we do not accidently show any menu; Open gamelog.txt unbuffered

View file

@ -132,6 +132,7 @@ void con_show(void)
if (!con_size)
return;
gr_set_current_canvas(NULL);
gr_set_curfont(GAME_FONT);
gr_setcolor(0);
Gr_scanline_darkening_level = 1*7;