Fix some high severity bugs

This commit is contained in:
2021-01-13 00:05:59 +01:00
parent e1a51b86b6
commit 89ae811beb
8 changed files with 17 additions and 20 deletions

View File

@@ -10,8 +10,8 @@ bool EventHandler::firstMouseInput = 1;
float EventHandler::mouseSensitivity = 0.5f;
EventHandler::EventHandler(GLFWwindow *window) :
window(window)
EventHandler::EventHandler(GLFWwindow *p_window) :
window(p_window)
{
glfwSetKeyCallback(window, key_callback);
glfwSetCursorPosCallback(window, mouse_callback);