Menu

[r3]: / OgreTut1 / src / main.cpp  Maximize  Restore  History

Download this file

15 lines (12 with data), 345 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#endif
#include "OgreEngineManager.h"
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
if (ENGINEMANAGER.Startup())
ENGINEMANAGER.StartRenderLoop();
ENGINEMANAGER.Shutdown();
return 0;
}