From bdcabc1e059ba9415e8d1f8cb436c77545680670 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 11 Oct 2015 22:16:30 +0800 Subject: Add smDtpFileR::getFileCRC. Modify anmutil and dtputil. Make the example compatible with Arch Linux. --- examples/smelt_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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"); -- cgit v1.2.3