Fix builed error after commit 0e45b824e3 due to -Wunused-variable

This commit is contained in:
Ozkan Sezer 2024-09-29 15:40:02 +03:00
parent 0e45b824e3
commit 5f304b3a47

View File

@ -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;