From 5c9888a0d75a6be38a76e8493c94269240dbcd68 Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Wed, 1 Jul 2026 15:35:41 -0400 Subject: [PATCH] =?UTF-8?q?BigUI=20WIP:=20I=20can=20see=20clearly=20now=20?= =?UTF-8?q?(MSAA=204=C3=97=20on=20PC=20fix)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/ui/lib/application.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/system/ui/lib/application.py b/system/ui/lib/application.py index f72885fe7..bd87ead4a 100644 --- a/system/ui/lib/application.py +++ b/system/ui/lib/application.py @@ -521,7 +521,7 @@ class GuiApplication: self._render_texture_width = max(1, int(round(self._scaled_width * self._pixel_scale_x))) self._render_texture_height = max(1, int(round(self._scaled_height * self._pixel_scale_y))) - needs_render_texture = self._scale != 1.0 or BURN_IN_MODE or RECORD or MICI_FORCE_RENDER_TEXTURE + needs_render_texture = (self._scale != 1.0 and not PC) or BURN_IN_MODE or RECORD or MICI_FORCE_RENDER_TEXTURE if PC and self._scale != 1.0: rl.set_mouse_scale(1 / self._scale, 1 / self._scale) if PC: @@ -720,7 +720,7 @@ class GuiApplication: texture_obj = self._load_texture_from_image(image_obj) # Set logical size so widget layout math stays at 1x coordinates. - if self._render_texture is not None and width is not None and height is not None: + if width is not None and height is not None: texture_obj.width = width texture_obj.height = height @@ -736,7 +736,7 @@ class GuiApplication: rl.image_alpha_premultiply(image) # Scale up load size for sharper rendering, capped at source resolution. - if self._render_texture is not None and width is not None and height is not None: + if width is not None and height is not None: width = min(int(width * self._scale * self._pixel_scale_x), image.width) height = min(int(height * self._scale * self._pixel_scale_y), image.height) @@ -872,8 +872,8 @@ class GuiApplication: rl.clear_background(rl.BLACK) self._mark_progress("gui_app.after_clear_background") - render_scale_x = self._scale * (self._pixel_scale_x if self._render_texture else 1.0) - render_scale_y = self._scale * (self._pixel_scale_y if self._render_texture else 1.0) + render_scale_x = self._scale * self._pixel_scale_x + render_scale_y = self._scale * self._pixel_scale_y needs_render_scale = render_scale_x != 1.0 or render_scale_y != 1.0 if needs_render_scale: rl.rl_push_matrix()