From 0fc6d9a0c68bd69482e5eb892bf9337d15589c7c Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 28 Feb 2012 02:17:29 +0000 Subject: [PATCH] - Unload all bound camera textures when FCanvasTextureInfo::EmptyList() is called. SVN r3397 (trunk) --- src/r_utility.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/r_utility.cpp b/src/r_utility.cpp index 858cbbba7..f23202a6b 100644 --- a/src/r_utility.cpp +++ b/src/r_utility.cpp @@ -1032,6 +1032,7 @@ void FCanvasTextureInfo::EmptyList () for (probe = List; probe != NULL; probe = next) { next = probe->Next; + probe->Texture->Unload(); delete probe; } List = NULL;