diff --git a/Nuake/src/Scene/Systems/System.h b/Nuake/src/Scene/Systems/System.h index f167c702..382fa84d 100644 --- a/Nuake/src/Scene/Systems/System.h +++ b/Nuake/src/Scene/Systems/System.h @@ -15,7 +15,7 @@ namespace Nuake virtual void Update(Timestep ts) = 0; virtual void FixedUpdate(Timestep ts) = 0; - + virtual void EditorUpdate() {} virtual void Exit() = 0; }; } diff --git a/Nuake/src/Window.cpp b/Nuake/src/Window.cpp index 4fb9ad07..dfda0ab2 100644 --- a/Nuake/src/Window.cpp +++ b/Nuake/src/Window.cpp @@ -128,7 +128,9 @@ namespace Nuake { stbi_image_free(images[0].pixels); glfwMakeContextCurrent(m_Window); - glfwSwapInterval(0); + + glfwSwapInterval(1); + Logger::Log((char*)glGetString(GL_VERSION)); if (glewInit() != GLEW_OK)