mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Move system specific deinit to a separate function for now
This commit is contained in:
parent
b221d5fce2
commit
e82ad0c131
|
@ -714,9 +714,7 @@ ENGINE_API void SE_InitEngine(const char *argv0, CTString strGameID)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static void PlatformSpecificDeinit(void)
|
||||||
// shutdown entire engine
|
|
||||||
ENGINE_API void SE_EndEngine(void)
|
|
||||||
{
|
{
|
||||||
// !!! FIXME: Move this into GfxLibrary...
|
// !!! FIXME: Move this into GfxLibrary...
|
||||||
#ifdef PLATFORM_WIN32
|
#ifdef PLATFORM_WIN32
|
||||||
|
@ -731,6 +729,12 @@ ENGINE_API void SE_EndEngine(void)
|
||||||
// restore default gamma
|
// restore default gamma
|
||||||
system("sudo /usr/pandora/scripts/op_gamma.sh 0");
|
system("sudo /usr/pandora/scripts/op_gamma.sh 0");
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
// shutdown entire engine
|
||||||
|
ENGINE_API void SE_EndEngine(void)
|
||||||
|
{
|
||||||
|
PlatformSpecificDeinit();
|
||||||
|
|
||||||
// free stocks
|
// free stocks
|
||||||
delete _pEntityClassStock; _pEntityClassStock = NULL;
|
delete _pEntityClassStock; _pEntityClassStock = NULL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user