From a875e0155ec7757c7b487bee0b4a8fbfa8574888 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Wed, 27 May 2026 16:34:31 -0400 Subject: build for w*ndows --- platform/gl/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/gl/gl.c') diff --git a/platform/gl/gl.c b/platform/gl/gl.c index 15bfe00..3f15160 100644 --- a/platform/gl/gl.c +++ b/platform/gl/gl.c @@ -238,7 +238,7 @@ ty_Vec2i ty_platform_get_mouse(void) double scalex = win_width / ctx.hints.scr_width; double scaley = win_height / ctx.hints.scr_height; - return ty_vec2i(x / scalex, y / scaley); + return ty_vec2i((int)(x / scalex), (int)(y / scaley)); } bool ty_platform_is_button_down(ty_Button btn) -- cgit v1.3-2-g0d8e