From 935b8119e99ccb4453fda76a44cba01ae0986d54 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 28 May 2023 11:21:04 +0200 Subject: [PATCH] Update portable_window.c --- examples/portable_window/portable_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/portable_window/portable_window.c b/examples/portable_window/portable_window.c index 74a2a6b..5c15060 100644 --- a/examples/portable_window/portable_window.c +++ b/examples/portable_window/portable_window.c @@ -67,7 +67,7 @@ int main() windowPosition.x += (mousePosition.x - panOffset.x); windowPosition.y += (mousePosition.y - panOffset.y); - SetWindowPosition(windowPosition.x, windowPosition.y); + SetWindowPosition((int)windowPosition.x, (int)windowPosition.y); if (IsMouseButtonReleased(MOUSE_LEFT_BUTTON)) dragWindow = false; }