quakeforge/libs/video
Bill Currie 06f410b0b6 [renderer] Clear the visibility components on scene reset
I don't know why it didn't happen during the demo loop, but going from
the start map to e1m1 caused a segfault due to the efrags for a lava
ball getting double freed (however, I do think it might be because the
ball passed through at least two leafs, while entities in the demos did
not). The double free was because SCR_NewScene (indirectly) freed all
the efrags without removing them from entities, and then the client code
deleting the entities caused the visibility components to get deleted
and thus the efrags freed a second time. Using ECS_RemoveEntities on the
visibility component ensures the entities don't have a visibility
component to remove when they are later deleted.
2022-11-17 22:12:41 +09:00
..
renderer [renderer] Clear the visibility components on scene reset 2022-11-17 22:12:41 +09:00
targets [vid] Add a function to set the palette and colormap 2022-11-14 19:39:55 +09:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00