From c194f59e171a1e58ce1704f37d99ffcd09a42433 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 2 Feb 2026 15:55:03 +0100 Subject: fix(gpu): Resolve high-DPI squished rendering and 3D shadow bugs - Implemented dynamic resolution support in all shaders and effects. - Added explicit viewport setting for all render passes to ensure correct scaling. - Fixed 3D shadow mapping by adding PLANE support and standardizing soft shadow logic. - Propagated resize events through the Effect hierarchy. - Applied project-wide code formatting. --- src/gpu/gpu.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gpu/gpu.h') diff --git a/src/gpu/gpu.h b/src/gpu/gpu.h index 768b238..f47355c 100644 --- a/src/gpu/gpu.h +++ b/src/gpu/gpu.h @@ -100,9 +100,7 @@ struct RenderPass { void gpu_init(PlatformState* platform_state); void gpu_draw(float audio_peak, float aspect_ratio, float time, float beat); -#if !defined(STRIP_ALL) -void gpu_simulate_until(float time); -#endif /* !defined(STRIP_ALL) */ +void gpu_resize(int width, int height); void gpu_shutdown(); // Helper functions (exposed for internal/future use) -- cgit v1.2.3