Error handling, Keyboard input, Shader stuff

This commit is contained in:
4VRDriver
2020-09-01 22:36:50 +02:00
parent 4efc99b630
commit 77dd6efcce
15 changed files with 303 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
//#include <iostream>
#include <iostream>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
@@ -8,6 +8,12 @@ int main(int argc, char** argv) {
// Suppress warning about unused variable
(void)argc; (void)argv;
#ifdef _DEBUG
std::cout << "[Debug Mode]" << std::endl;
#else
std::cout << "[Release Mode]" << std::endl;
#endif
// Create window
Controller *mainController = new Controller();