From 5f304b3a4727b0a6fc99d6bcee24bde8e480c31e Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 29 Sep 2024 15:40:02 +0300
Subject: [PATCH] Fix builed error after commit 0e45b824e34 due to
-Wunused-variable
---
src/render/SDL_render.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index e8f6e79c37463..bf04bb197d6f4 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -2699,8 +2699,6 @@ bool SDL_GetRenderLogicalPresentationRect(SDL_Renderer *renderer, SDL_FRect *rec
if (rect) {
if (renderer->logical_presentation_mode == SDL_LOGICAL_PRESENTATION_DISABLED) {
- int output_w = 0, output_h = 0;
-
rect->x = 0.0f;
rect->y = 0.0f;
rect->w = (float)renderer->output_pixel_w;