From f51292963315ccb5c20b8f2b6703e798161548b5 Mon Sep 17 00:00:00 2001 From: yuyi98 Date: Tue, 15 Mar 2022 13:18:38 +0800 Subject: [PATCH] v fmt examples/ttf_font/example_ttf.v --- examples/ttf_font/example_ttf.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ttf_font/example_ttf.v b/examples/ttf_font/example_ttf.v index d22ea84e62..2edb417f20 100644 --- a/examples/ttf_font/example_ttf.v +++ b/examples/ttf_font/example_ttf.v @@ -144,7 +144,7 @@ fn main() { // TTF render 0 Frame counter app.ttf_render << &ttf.TTF_render_Sokol{ bmp: &ttf.BitMap{ - tf: &(app.tf[0]) + tf: &app.tf[0] buf: unsafe { malloc_noscan(32000000) } buf_size: (32000000) color: 0xFF0000FF @@ -155,7 +155,7 @@ fn main() { // TTF render 1 Text Block app.ttf_render << &ttf.TTF_render_Sokol{ bmp: &ttf.BitMap{ - tf: &(app.tf[1]) + tf: &app.tf[1] // color : 0xFF0000_10 // style: .raw // use_font_metrics: true @@ -164,7 +164,7 @@ fn main() { // TTF mouse position render app.ttf_render << &ttf.TTF_render_Sokol{ bmp: &ttf.BitMap{ - tf: &(app.tf[0]) + tf: &app.tf[0] } } // setup sokol_gfx