managed old tutorial implementation with classes.
Bugs: nothing is displayed
This commit is contained in:
20
MshViewer/main.cpp
Normal file
20
MshViewer/main.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user