Fix warnings in raylib (#3793)
This commit is contained in:
parent
dd8b5613ca
commit
4cd71a9750
3 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue