I’ve build teeworlds with Thread Satitizer (TSan) and it detected a data race in backend_sdl.cpp after launching build/teeworlds. Double-checked the race by Helgrind which has triggered on backend_sdl.cpp:41 too. I'm not sure whether this is an actual issue, or whether teeworlds' code is too sophisticated for TSan and Helgrind to understand. Do you guys have any idea?
Project version
teeworlds: (main a1911c8f7d8458fb4076ef8e7651e8ef5e91ab3e)
clang: 19.1.0 (x86_64-unknown-linux-gnu)
...