Vertex shader leaks and corrupts stuff until it segfaults
leilei- opened this issue · 0 comments
leilei- commented
In the leidev branch i've realized how bad the vertex shader code has become after cleaning up some of my deprecated shader stuff. Problem is, debugging gdb with it leads to a segfault in other parts in the code (like bots), when there's obvious visual symptoms of a memory issue:
-
Dynamic light texture sometimes gets corrupted
-
Whiteimage sometimes gets corrupted
-
in a debug build, tcMod atlas effects pick the wrong subimage (smoke images becoming shockwave images)