diff --git a/MiniEngine.h b/MiniEngine.h index c74064e..00cfa1d 100644 --- a/MiniEngine.h +++ b/MiniEngine.h @@ -362,13 +362,14 @@ namespace MiniEngine template void setFontStyle(Style style,Args&&... args) { - _internal_fontcalc=0; - _setFontStyle(style,std::forward(args...)); + int fontcalc=0; + _setFontStyle(fontcalc,style,args...); } void setFontStyle(Style style) { - _real_setFontStyle(_style_caster(style)); + int fontcalc=0; + _setFontStyle(fontcalc,style); } std::tuple