瀏覽代碼

fix vet errors in stb truetype

Laytan Laats 1 年之前
父節點
當前提交
e77977c8ef
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      vendor/stb/truetype/stb_truetype_wasm.odin

+ 1 - 2
vendor/stb/truetype/stb_truetype_wasm.odin

@@ -7,7 +7,6 @@ import "base:runtime"
 
 
 import "core:c"
 import "core:c"
 import "core:math"
 import "core:math"
-import "core:mem"
 import "core:slice"
 import "core:slice"
 import "core:sort"
 import "core:sort"
 
 
@@ -69,7 +68,7 @@ pow :: proc "c" (x, y: f64) -> f64 { return math.pow(x, y) }
 
 
 @(require, linkage="strong", link_name="stbtt_fmod")
 @(require, linkage="strong", link_name="stbtt_fmod")
 fmod :: proc "c" (x, y: f64) -> f64 {
 fmod :: proc "c" (x, y: f64) -> f64 {
-	context = runtime.default_context();
+	context = runtime.default_context()
 	// NOTE: only called in the `stbtt_GetGlyphSDF` code path.
 	// NOTE: only called in the `stbtt_GetGlyphSDF` code path.
 	panic("`math.round` is broken on 32 bit targets, see #3856")
 	panic("`math.round` is broken on 32 bit targets, see #3856")
 }
 }