Skip to content

Commit

Permalink
Remove const
Browse files Browse the repository at this point in the history
  • Loading branch information
asdqwe committed Jan 7, 2025
1 parent 0c07eca commit 0de07cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/rcore_desktop_glfw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,7 @@ int InitPlatform(void)
}

// Initialize mouse positions:
const double xpos, ypos;
double xpos, ypos;
glfwGetCursorPos(platform.handle, &xpos, &ypos);
CORE.Input.Mouse.previousPosition.x = (float)xpos;
CORE.Input.Mouse.previousPosition.y = (float)ypos;
Expand Down

0 comments on commit 0de07cc

Please sign in to comment.