quakeforge/libs/video/renderer
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
..
gl [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
glsl [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
sw [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vulkan [scene] Add a color map component 2022-11-15 15:30:35 +09:00
crosshair.c Add a new crosshair. 2012-12-12 19:36:50 +09:00
font8x8.c [renderer] Add a default 8x8 font 2021-01-08 14:37:52 +09:00
Makemodule.am [vulkan] Upload palette as a 16x16 image 2022-11-15 09:26:17 +09:00
noisetextures.c Change pointer_t to unsigned and clean up the mess. 2012-12-21 21:53:13 +09:00
r_alias.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_billboard.c [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
r_bsp.c [sw] Take advantage of the ECS for edge rendering 2022-10-25 19:36:09 +09:00
r_cvar.c [vid] Remove console view from viddef_t 2022-09-21 17:31:18 +09:00
r_draw.c [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_ent.c [sound] Remove a pile of unwanted sound.h includes 2022-06-03 15:43:53 +09:00
r_fog.c [renderer] Fix some non-static linking issues 2022-03-09 06:55:31 +09:00
r_font.c [renderer] Remove rglyph_t struct 2022-10-20 15:50:53 +09:00
r_graph.c [client] Fix incorrect function component setup 2022-11-10 21:23:04 +09:00
r_init.c [plugin] Ensure plugins get unloaded during shutdown 2022-05-12 20:58:39 +09:00
r_iqm.c [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
r_light.c [model] Move visframe out of msurface_t 2022-05-22 16:38:50 +09:00
r_main.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_part.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_progs.c [renderer] Add fontid to Draw_AddFont and Draw_FontString 2022-10-03 09:01:54 +09:00
r_scrap.c [renderer] Use better heuristics for scrap allocation 2022-09-20 19:32:49 +09:00
r_screen.c [renderer] Clear the visibility components on scene reset 2022-11-17 22:12:41 +09:00
r_sprite.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_text.c [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vid_common.c [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vid_render_gl.c [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
vid_render_glsl.c [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
vid_render_sw.c [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vid_render_vulkan.c [vulkan] Upload palette as a 16x16 image 2022-11-15 09:26:17 +09:00