mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[ruamoko] Clean up lighting data blocks
Don't want to leak memory.
This commit is contained in:
parent
4abcaff980
commit
ed82b5f299
1 changed files with 3 additions and 0 deletions
|
@ -645,6 +645,9 @@ bi_scene_clear (progs_t *pr, void *_res)
|
|||
{
|
||||
rua_scene_resources_t *res = _res;
|
||||
|
||||
while (res->ldatas) {
|
||||
rua_delete_lighting (res, res->ldatas);
|
||||
}
|
||||
while (res->scenes) {
|
||||
rua_delete_scene (res, res->scenes);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue