sokol: fix missing import in `sfons`. Fixes #13061 (#13062)

pull/13079/head
Larpon 2022-01-06 17:21:41 +01:00 committed by GitHub
parent 8088f462c9
commit 6dca022caf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 {