From a958c6ca8dd48f642570037df127a4b23c984d82 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 17:05:15 +0100 Subject: feat: Multi-pass rendering architecture and effect stubs Implements a post-processing pipeline using offscreen framebuffers. Adds stubs for MovingEllipse, ParticleSpray, GaussianBlur, Solarize, Distort, and ChromaAberration effects. Updates MainSequence to orchestrate the scene pass and post-processing chain. --- src/main.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 75143c0..0bd0580 100644 --- a/src/main.cc +++ b/src/main.cc @@ -148,7 +148,9 @@ int main(int argc, char **argv) { #endif /* STRIP_ALL */ platform_init_window(fullscreen_enabled); - gpu_init(platform_get_window()); + int width, height; + glfwGetFramebufferSize(platform_get_window(), &width, &height); + gpu_init(platform_get_window(), width, height); audio_init(); // Register drum assets -- cgit v1.2.3