aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-11 22:16:30 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-11 22:16:30 +0800
commitbdcabc1e059ba9415e8d1f8cb436c77545680670 (patch)
tree18bd9f864290b6ad2258b143817e8bccbc3ae657 /examples
parentc279262556b2ffb4324cc6e52b4d4dd9cd1bd91a (diff)
downloadSMELT-bdcabc1e059ba9415e8d1f8cb436c77545680670.tar.xz
Add smDtpFileR::getFileCRC.
Modify anmutil and dtputil. Make the example compatible with Arch Linux.
Diffstat (limited to 'examples')
-rw-r--r--examples/smelt_test.cpp2
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");