X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FText.cpp;h=5b90b6ac6495bb0c7be1b17de47347b233bf6c06;hb=8a6a4b71914b97fb154abdceef4db768633e71df;hp=8d0dc609ce03ed42f6966abeb3326889289b6676;hpb=6c36b920245ca8b1e3d9aaede5f9d2a6210538a1;p=lugaru.git diff --git a/Source/Text.cpp b/Source/Text.cpp index 8d0dc60..5b90b6a 100644 --- a/Source/Text.cpp +++ b/Source/Text.cpp @@ -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 . /**> 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;