mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Enabled V sync and added editor update to scene systems
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user