Commit 0fdb645d authored by Niklas Haas's avatar Niklas Haas

demos/sdl2: fix undefined behavior with overlay

The struct goes out of scope before it's used
parent 16744b29
Pipeline #7177 passed with stages
in 1 minute and 45 seconds