#ifndef _DEBUG #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) #endif // DEBUG #include "OpenGLController.h" int main(int argc, char** argv) { OpenGLController *scene = OpenGLController::getInstance(); do { scene->updateScene(); } while (!glfwWindowShouldClose(scene->getWindow())); delete scene; return 0; }