- Try to fix compilation on non windows platforms.

# Conflicts:
#	src/d_main.cpp
This commit is contained in:
drfrag 2019-12-29 22:28:24 +01:00
parent f334400d48
commit cfeacc485b
2 changed files with 5 additions and 0 deletions

View file

@ -132,7 +132,9 @@ void P_Shutdown();
void M_SaveDefaultsFinal();
void R_Shutdown();
void I_ShutdownInput();
#ifdef _WIN32
void StopFPSLimit();
#endif
void I_DeleteRenderer();
const FIWADInfo *D_FindIWAD(TArray<FString> &wadfiles, const char *iwad, const char *basewad);
@ -2916,7 +2918,9 @@ void D_Cleanup()
AM_ClearColorsets();
DeinitSWColorMaps();
FreeSBarInfoScript();
#ifdef _WIN32
StopFPSLimit();
#endif
// clean up game state
ST_Clear();

View file

@ -47,6 +47,7 @@
#include "s_sound.h"
#include "st_console.h"
#include "version.h"
#include "doomerrors.h"
#include "s_music.h"