AGS: Wrap unused function in ifdef check

This commit is contained in:
Paul Gilbert 2022-03-22 22:32:14 -07:00
parent 3e6c42ab8d
commit 658a9ddb05

View File

@ -327,6 +327,7 @@ bool create_gfx_driver_and_init_mode_any(const String &gfx_driver_id,
return result;
}
#ifdef USE_SIMPLE_GFX_INIT
static bool simple_create_gfx_driver_and_init_mode(const String &gfx_driver_id,
const GraphicResolution &game_res, const DisplayModeSetup &setup,
const ColorDepthOption &color_depth) {
@ -356,6 +357,7 @@ static bool simple_create_gfx_driver_and_init_mode(const String &gfx_driver_id,
return true;
}
#endif
void display_gfx_mode_error(const Size &game_size, const WindowSetup &ws, const int color_depth,
const GfxFilterSetup &filter_setup) {