diff options
| author | Jeffery Myers <[email protected]> | 2024-02-10 11:02:05 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-10 20:02:05 +0100 |
| commit | 4cd71a975086fa3be3b28d765e45c4bb7dc4e101 (patch) | |
| tree | e8cd9a2a8674804bdd14c1f8a76c1f1887874fcd /src/rcore.c | |
| parent | dd8b5613cab0d62a2464be5e3b45e835adedea0c (diff) | |
| download | raylib-4cd71a975086fa3be3b28d765e45c4bb7dc4e101.tar.gz raylib-4cd71a975086fa3be3b28d765e45c4bb7dc4e101.zip | |
Fix warnings in raylib (#3793)
Diffstat (limited to 'src/rcore.c')
| -rw-r--r-- | src/rcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c index 48c863f5..84e05e23 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1406,7 +1406,7 @@ void SetShaderValueTexture(Shader shader, int locIndex, Texture2D texture) // Get a ray trace from mouse position Ray GetMouseRay(Vector2 mousePosition, Camera camera) { - return GetViewRay(mousePosition, camera, GetScreenWidth(), GetScreenHeight()); + return GetViewRay(mousePosition, camera, (float)GetScreenWidth(), (float)GetScreenHeight()); } // Get a ray trace from the mouse position within a specific section of the screen |
