From 003becc3c7b7773b08a693e23932c3cd6e3a0999 Mon Sep 17 00:00:00 2001
From: basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c>
Date: Sun, 23 Aug 2015 14:03:21 +0000
Subject: * qick-fix some memory leaking after leaving MenuOptionsTheme (the
 covers-texture-cache doesn't need to be recreated) ToDo: fix memory which
 happens in TScreenSong.GenerateThumbnails or subcalls

git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3125 b956fd51-792f-4845-bead-9b4dfca2ff2c
---
 src/base/UTexture.pas | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/base')

diff --git a/src/base/UTexture.pas b/src/base/UTexture.pas
index fb31a9b0..c0f0f396 100644
--- a/src/base/UTexture.pas
+++ b/src/base/UTexture.pas
@@ -110,8 +110,8 @@ type
   end;
 
   TTextureUnit = class
-    private
-      TextureDatabase: TTextureDatabase;
+    //private
+
     public
       Limit: integer;
 
@@ -132,7 +132,7 @@ type
 
 var
   Texture: TTextureUnit;
-
+  TextureDatabase: TTextureDatabase;
 implementation
 
 uses
-- 
cgit v1.2.3