Fixed Qt project compile on Windows
This commit is contained in:
@@ -79,11 +79,14 @@ GameApp::~GameApp()
|
||||
void GameApp::Create()
|
||||
{
|
||||
srand((unsigned int)time(0)); // initialize random
|
||||
#ifndef QT_CONFIG
|
||||
#if defined (WIN32)
|
||||
_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
|
||||
#elif not defined (LINUX)
|
||||
pspfpu_set_enable(0); //disable FPU Exceptions until we find where the FPU errors come from
|
||||
#endif
|
||||
#endif //QT_CONFIG
|
||||
|
||||
//_CrtSetBreakAlloc(368);
|
||||
LOG("starting Game");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user