From 09b6276d7ffb598bf12a0fd2489e85fc72115ad3 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Sat, 28 Nov 2026 11:34:21 +0100 Subject: [PATCH] Fixed typo in display.c for code coherence. --- core/host/linux/display.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/host/linux/display.c b/core/host/linux/display.c index fc10c32..89d14cb 100644 --- a/core/host/linux/display.c +++ b/core/host/linux/display.c @@ -154,8 +154,7 @@ int display_draw_texture(texture_t *texture, const rect_t *src_rect, const rect_ if(src_rect) rect_to_frect(src_rect, &src_frect); frect_t dst_frect; - if(dst_rect) - dst_frect = (frect_t) { + if(dst_rect) dst_frect = (frect_t) { .x = (dst_rect->x - game.camera.view_rect.x) * (DISPLAY_WIDTH / game.camera.view_rect.w), .y = (dst_rect->y - game.camera.view_rect.y) * (DISPLAY_HEIGHT / game.camera.view_rect.h), .w = dst_rect->w * (DISPLAY_WIDTH / game.camera.view_rect.w),