From 4cd71a975086fa3be3b28d765e45c4bb7dc4e101 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Sat, 10 Feb 2024 11:02:05 -0800 Subject: Fix warnings in raylib (#3793) --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rcore.c') 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 -- cgit v1.2.3