Cleaned up compiler warnings.
This commit is contained in:
@ -132,6 +132,6 @@ void glfwOnError(int error, const char* description) {
|
||||
|
||||
void glfwOnCursor(GLFWwindow *window, double x, double y) {
|
||||
input_t *input = &GAME_STATE->engine.input;
|
||||
input->buffer[INPUT_MOUSE_X] = x;
|
||||
input->buffer[INPUT_MOUSE_Y] = y;
|
||||
input->buffer[INPUT_MOUSE_X] = (float)x;
|
||||
input->buffer[INPUT_MOUSE_Y] = (float)y;
|
||||
}
|
Reference in New Issue
Block a user