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