]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Text.cpp
toggle fullscreen with alt+enter
[lugaru.git] / Source / Text.cpp
index 0652c87b2d4085820d13aeef395a496f15dfe9a1..4c22f0fd973e08b0a85e47298fc0ab1bfa47ea95 100644 (file)
@@ -78,8 +78,10 @@ void Text::BuildFont()                                                               // Build Our Font Display List
 
        if (base)
        {
-               LOG("Font already created...");
-               return;
+               glDeleteLists(base, 512);
+               base = 0;
+               //LOG("Font already created...");
+               //return;
        }
 
 //     base=glGenLists(256);                                                           // Creating 256 Display Lists