diff options
| author | Ray <[email protected]> | 2021-10-14 00:11:37 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-10-14 00:11:37 +0200 |
| commit | 3e604a86450d90c60a9d1221b1dd7e474006c6e1 (patch) | |
| tree | 3e4b34ba187fb319e805fc6de2fc06a9cd31586b /src/rcore.c | |
| parent | 83b3478fe40ac3160606392373483649c93aa5ed (diff) | |
| download | raylib-3e604a86450d90c60a9d1221b1dd7e474006c6e1.tar.gz raylib-3e604a86450d90c60a9d1221b1dd7e474006c6e1.zip | |
Remove trailing spaces
Diffstat (limited to 'src/rcore.c')
| -rw-r--r-- | src/rcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rcore.c b/src/rcore.c index 78ee8e2e..1e4047c7 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2186,9 +2186,9 @@ void BeginScissorMode(int x, int y, int width, int height) if ((CORE.Window.flags & FLAG_WINDOW_HIGHDPI) > 0) { Vector2 scale = GetWindowScaleDPI(); - + rlScissor(x*scale.x, CORE.Window.currentFbo.height - (y + height)*scale.y, width*scale.x, height*scale.y); - } + } else { rlScissor(x, CORE.Window.currentFbo.height - (y + height), width, height); @@ -4920,7 +4920,7 @@ static void WindowSizeCallback(GLFWwindow *window, int width, int height) CORE.Window.screen.width = width/windowScaleDPI.x; CORE.Window.screen.height = height/windowScaleDPI.y; - } + } else { CORE.Window.screen.width = width; |
