Trying to fix shading
This commit is contained in:
1 parent
6c156d3bc2
commit
178f48120d
12 files changed
+115
-45
No files matched your search
@@ -16,6 +16,10 @@ double Gfx::getCurrentFrameDelta()
|
||||
|
||||
void glfwKeyCallback(GLFWwindow* handle, int key, int, int action, int modifier)
|
||||
{
|
||||
if (key == -1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Window* window = (Window*)glfwGetWindowUserPointer(handle);
|
||||
window->keyPress((KeyCode)key, (InputAction)action, (KeyModifier)modifier);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user