diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-11 11:51:41 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-11 11:51:41 +0100 |
| commit | 0b756c0d0c9e968b2182ea720a8a24afd5c4bc0a (patch) | |
| tree | f364f6ae31b0bf2cc0890046059be4545dc97be9 /src/gpu/effects/scene1_effect.cc | |
| parent | c809790015b4ddc354c6b1993a633eddd042930f (diff) | |
fix: Call resize() before init() to set dimensions first
Simpler solution than lazy initialization: effects need correct
dimensions during init() to register auxiliary textures.
Changed initialization order in MainSequence:
- resize() sets width_/height_ FIRST
- init() can then use correct dimensions
Reverted lazy initialization complexity. One-line fix.
Tests: All 36 tests passing, demo runs without error
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/gpu/effects/scene1_effect.cc')
0 files changed, 0 insertions, 0 deletions
