compilation fix

This commit is contained in:
Stanislav Shwartsman 2008-10-15 15:26:15 +00:00
parent 82815c4bef
commit c02a276a5c

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: sdl.cc,v 1.76 2008-10-06 22:00:11 sshwarts Exp $
// $Id: sdl.cc,v 1.77 2008-10-15 15:26:15 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -1564,12 +1564,12 @@ void bx_sdl_gui_c::set_display_mode(disp_mode_t newmode)
if (sdl_fullscreen_toggle) {
switch (newmode) {
case DISP_MODE_CONFIG:
BX_DEBUG("switch to configuration mode (windowed)"));
switch_to_windowed ();
BX_DEBUG(("switch to configuration mode (windowed)"));
switch_to_windowed();
break;
case DISP_MODE_SIM:
BX_DEBUG(("switch to simulation mode (fullscreen)"));
switch_to_fullscreen ();
switch_to_fullscreen();
break;
}
}