diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 17:05:15 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 17:05:15 +0100 |
| commit | a958c6ca8dd48f642570037df127a4b23c984d82 (patch) | |
| tree | 9f1a3293858c00cbce37c75e573de0149edbd3ec /src/main.cc | |
| parent | 843de420978cc4c976a2b71cf13c940685df8f56 (diff) | |
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.
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
