diff --git a/vlib/freetype/freetype.v b/vlib/freetype/freetype.v index 5f03dcc2cb..2913f6efaa 100644 --- a/vlib/freetype/freetype.v +++ b/vlib/freetype/freetype.v @@ -255,8 +255,8 @@ fn (ctx mut Context) init_utf8_runes() { // fn (ctx &GG) render_text(text string, x, y, scale f32, color gx.Color) { pub fn (ctx &Context) draw_text(_x, _y int, text string, cfg gx.TextCfg) { - utext := text.ustring_tmp() - // utext := text.ustring() + //utext := text.ustring_tmp() + utext := text.ustring() ctx._draw_text(_x, _y, utext, cfg) // utext.free() // # glScissor(0,0,ctx->width*2,ctx->height*2);