mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 22:51:11 +00:00
AGS: Wrap unused function in ifdef check
This commit is contained in:
parent
3e6c42ab8d
commit
658a9ddb05
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user