From 9fbd65ae020a25e935218ebdf54ee943fc6c1207 Mon Sep 17 00:00:00 2001 From: Michele Tampellini Date: Wed, 8 Dec 2021 09:21:35 +0700 Subject: [PATCH] Fix declaration --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index ed341028c..3b028564c 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2234,7 +2234,7 @@ void BeginScissorMode(int x, int y, int width, int height) Vector2 scale = { 1, 1 }; if ((CORE.Window.flags & FLAG_WINDOW_HIGHDPI) > 0) { - Vector2 scale = GetWindowScaleDPI(); + scale = GetWindowScaleDPI(); } if (CORE.Window.flags & FLAG_FIXED_RENDER_SIZE)