]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Graphic/Text.cpp
Cleaned up TextureRes lifecycle to make sure it’s destroyed by RAII
[lugaru.git] / Source / Graphic / Text.cpp
index 2cf73aa60208d169ccc1a8710f652bc38ecb7943..1253ba9d474f73eb56ac487f80310b024bf05aa8 100644 (file)
@@ -147,6 +147,5 @@ Text::~Text()
         glDeleteLists(base, 512);
         base = 0;
     }
-    FontTexture.destroy();
 }