From 6dca022caf7a40bb477ec4b4019f623677eb1c3f Mon Sep 17 00:00:00 2001 From: Larpon Date: Thu, 6 Jan 2022 17:21:41 +0100 Subject: [PATCH] sokol: fix missing import in `sfons`. Fixes #13061 (#13062) --- vlib/sokol/sfons/sfons.c.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/sokol/sfons/sfons.c.v b/vlib/sokol/sfons/sfons.c.v index 78865111d2..8a8f31278a 100644 --- a/vlib/sokol/sfons/sfons.c.v +++ b/vlib/sokol/sfons/sfons.c.v @@ -1,9 +1,10 @@ module sfons import fontstash +import sokol.f // keep v from warning about unused imports -const used_import = fontstash.used_import + 1 +const used_import = f.used_import + fontstash.used_import + 1 [inline] pub fn create(width int, height int, flags int) &fontstash.Context {