]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Text.cpp
Removed ununused field hasAlpha
[lugaru.git] / Source / Text.cpp
index 8d0dc609ce03ed42f6966abeb3326889289b6676..5b90b6ac6495bb0c7be1b17de47347b233bf6c06 100644 (file)
@@ -1,5 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
+Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -20,7 +21,6 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 /**> HEADER FILES <**/
 #include "Text.h"
 #include "Game.h"
-extern TGAImageRec texture;
 
 void Text::LoadFontTexture(const char *fileName)
 {
@@ -28,7 +28,7 @@ void Text::LoadFontTexture(const char *fileName)
 
     LOG(std::string("Loading font texture...") + fileName);
 
-    FontTexture.load(fileName, false, false);
+    FontTexture.load(fileName, false);
     if (base) {
         glDeleteLists(base, 512);
         base = 0;