- removed unneeded WantEscape function from backend interface.

This commit is contained in:
Christoph Oelckers 2022-11-24 17:57:40 +01:00
parent ed4f49ac86
commit 9219d24535
2 changed files with 0 additions and 7 deletions

View file

@ -46,7 +46,6 @@ struct SystemCallbacks
void (*LanguageChanged)(const char*);
bool (*OkForLocalization)(FTextureID, const char*);
FConfigFile* (*GetConfig)();
bool (*WantEscape)();
};
extern SystemCallbacks sysCallbacks;

View file

@ -543,11 +543,6 @@ static void System_SetTransition(int type)
nextwipe = type;
}
bool WantEscape()
{
return gi->WantEscape();
}
void I_StartupJoysticks();
@ -597,7 +592,6 @@ int GameMain()
nullptr,
nullptr,
[]() ->FConfigFile* { return GameConfig; },
WantEscape,
};
try