diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/smelt_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smelt_test.cpp b/examples/smelt_test.cpp index 99a9aa9..c1dc8d8 100644 --- a/examples/smelt_test.cpp +++ b/examples/smelt_test.cpp @@ -147,7 +147,7 @@ int main() fonttest.setScale(1.); //load the truetype font. - if(!ttftest.loadTTF("/usr/share/fonts/truetype/wqy/wqy-microhei.ttc",18))sm->smLog("ttf load error!"); + if(!ttftest.loadTTF("/usr/share/fonts/truetype/wqy/wqy-microhei.ttc",18))if(!ttftest.loadTTF("/usr/share/fonts/wenquanyi/wqy-microhei/wqy-microhei.ttc",18))sm->smLog("ttf load error!"); //load the texture. tex=sm->smTextureLoad("SpriteSheet.png"); |