Cleaned up compiler warnings.

This commit is contained in:
2021-08-19 23:49:55 -07:00
parent 45a3ec30f5
commit 9a577cdf4f
8 changed files with 8 additions and 122 deletions

View File

@ -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;
}