diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-02 15:55:03 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-02 15:55:03 +0100 |
| commit | c194f59e171a1e58ce1704f37d99ffcd09a42433 (patch) | |
| tree | f77a32f2c4c23b335209b8df11cc82920388b51a /src/gpu/gpu.h | |
| parent | 316825883c705ed0fe927c32e072f98141d3eaa3 (diff) | |
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.
Diffstat (limited to 'src/gpu/gpu.h')
| -rw-r--r-- | src/gpu/gpu.h | 4 |
1 files changed, 1 insertions, 3 deletions
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) |
