diff options
author | chai <chaifix@163.com> | 2018-10-16 13:43:57 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-16 13:43:57 +0800 |
commit | be59ac06cbcd60895e25f2e7d76846ee3e6a0d92 (patch) | |
tree | e73c977f9161acfdd119ec1bcee4b15a208cea54 /src/lua/modules/graphics/ttfData.cpp | |
parent | 90802fc96de6523ce12290cd66703aa1351c91dd (diff) |
+增加=符号
Diffstat (limited to 'src/lua/modules/graphics/ttfData.cpp')
-rw-r--r-- | src/lua/modules/graphics/ttfData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/graphics/ttfData.cpp b/src/lua/modules/graphics/ttfData.cpp index 26cd784..5d4d03a 100644 --- a/src/lua/modules/graphics/ttfData.cpp +++ b/src/lua/modules/graphics/ttfData.cpp @@ -17,7 +17,7 @@ namespace lua Ref<TTFData>& refFontData = p->getRef<TTFData>(); TTFData* fontData = refFontData.getObject(); Proxy* proxy = (Proxy*)luax_newinstance(L, JIN_GRAPHICS_TTF, sizeof(Proxy)); - TTF* font = TTF::createTTF(fontData, fontsize); + TTF* font = fontData->createTTF(fontsize); Ref<TTF>* refTTF = new Ref<TTF>(font, JIN_GRAPHICS_TTF); { Ref<TTFData>& refTTFData = p->getRef<TTFData>(); |