OpenGLController: moved some code around

shader: throw errors
This commit is contained in:
Anakin
2016-09-08 17:41:26 +02:00
parent d97a917a5e
commit 8955fc91ea
3 changed files with 51 additions and 40 deletions

View File

@@ -8,6 +8,8 @@ int main(int argc, char** argv)
{
OpenGLController *scene = OpenGLController::getInstance();
scene->loadMsh("test.msh");
do {
scene->updateScene();
} while (!glfwWindowShouldClose(scene->getWindow()));