Browse Source

Fix foreign import names

gingerBill 8 months ago
parent
commit
4a2b13f1c2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      vendor/stb/image/stb_image_resize.odin
  2. 1 1
      vendor/stb/image/stb_image_write.odin

+ 1 - 1
vendor/stb/image/stb_image_resize.odin

@@ -18,7 +18,7 @@ when RESIZE_LIB != "" {
 	}
 }
 
-foreign import stbi {
+foreign import lib {
 	RESIZE_LIB when RESIZE_LIB != "" else "system:stb_image_resize",
 }
 

+ 1 - 1
vendor/stb/image/stb_image_write.odin

@@ -18,7 +18,7 @@ when WRITE_LIB != "" {
 	}
 }
 
-foreign import stbi {
+foreign import stbiw {
 	WRITE_LIB when WRITE_LIB != "" else "system:stb_image_write",
 }