2016-09-06 15:15:29 +02:00
|
|
|
#ifndef _DEBUG
|
|
|
|
|
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
|
|
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
|
|
|
#include "OpenGLController.h"
|
|
|
|
|
|
|
|
|
|
int main(int argc, char** argv)
|
|
|
|
|
{
|
2016-09-08 11:36:57 +02:00
|
|
|
OpenGLController *scene = OpenGLController::getInstance();
|
2016-09-06 15:15:29 +02:00
|
|
|
|
2016-09-07 16:07:56 +02:00
|
|
|
do {
|
2016-09-08 11:36:57 +02:00
|
|
|
scene->updateScene();
|
|
|
|
|
} while (!glfwWindowShouldClose(scene->getWindow()));
|
|
|
|
|
|
|
|
|
|
delete scene;
|
2016-09-06 15:15:29 +02:00
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|