SWBF2-Classic-Msh-Viewer/MshViewer/main.cpp

20 lines
357 B
C++
Raw Normal View History

#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;
}