From abffe5f72dfb39da8d480ce3c4b546404684a060 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 21 Sep 2015 22:17:37 +0800 Subject: Bump api version to 3. Added several essential apis. Minor bug fixes. --- extensions/smbmfont.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extensions') diff --git a/extensions/smbmfont.cpp b/extensions/smbmfont.cpp index 292c2b7..22f9280 100644 --- a/extensions/smbmfont.cpp +++ b/extensions/smbmfont.cpp @@ -53,6 +53,8 @@ bool smBMFont::loadAnmFromMemory(const char* ptr,DWORD size) DWORD msez=anm.getFileSize("content.meta"); parseMeta(mptr,msez); anm.releaseFilePtr("content.meta"); + setBlend(BLEND_ALPHABLEND); + setColor(0xFFFFFFFF); } void smBMFont::close() { -- cgit v1.2.3