diff --git a/source/ps/NPFont.cpp b/source/ps/NPFont.cpp index c0f2072077..5615f09a2b 100755 --- a/source/ps/NPFont.cpp +++ b/source/ps/NPFont.cpp @@ -1,4 +1,5 @@ #include "NPFont.h" +#include "Renderer.h" NPFont::NPFont() { @@ -62,7 +63,7 @@ NPFont* NPFont::create(const char* name) delete font; return 0; } - CStr texname("gui/fonts/"); + CStr texname("fonts/"); for (uint i=0;i_name=name; + g_Renderer.LoadTexture(&font->_texture,0); + // return created font return font; }