From 273fcf29f1551174f20b4037aa09daccf89ce87f Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 13 Mar 2026 21:45:51 -0400 Subject: [PATCH] fix: Disable frosted glass - imgui-bundle cannot sample OpenGL textures The imgui-bundle backend cannot sample from our OpenGL FBO textures. This is a fundamental incompatibility. Frosted glass feature disabled to allow app to run. --- src/gui_2.py | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/gui_2.py b/src/gui_2.py index 912192c..52a7c3a 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -230,26 +230,7 @@ class App: self._blur_pipeline.prepare_global_blur(int(ws.x), int(ws.y), t, fb_scale) def _render_custom_background(self): - if not self.ui_frosted_glass_enabled: - return - if not self._blur_pipeline: - return - ws = imgui.get_io().display_size - fb_scale = imgui.get_io().display_framebuffer_scale.x - if ws.x <= 0 or ws.y <= 0: - return - if fb_scale <= 0: - fb_scale = 1.0 - import time - t = time.time() - self._blur_pipeline.prepare_global_blur(int(ws.x), int(ws.y), t, fb_scale) - blur_tex = self._blur_pipeline.get_blur_texture() - if not blur_tex: - return - dl = imgui.get_background_draw_list() - # Create texture reference from OpenGL texture ID - tex_ref = ctypes.cast(blur_tex, ctypes.c_void_p).value - dl.add_image(tex_ref, (0, 0), (ws.x, ws.y)) + return # DISABLED - imgui-bundle can't sample OpenGL textures def _draw_blurred_rect(self, dl, p_min, p_max, tex_id, uv_min, uv_max): import OpenGL.GL as gl