stb_image

This commit is contained in:
phillvancejr
2022-02-04 13:03:20 -05:00
parent f28c268d97
commit 8f600798ef
4 changed files with 5 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@ import c "core:c/libc"
when ODIN_OS == "windows" { foreign import stbiw "../lib/stb_image_write.lib" }
when ODIN_OS == "linux" { foreign import stbiw "../lib/stb_image_write.a" }
when ODIN_OS == "darwin" { foreign import stbiw "../lib/darwin/stb_image_write.a" }
write_func :: proc "c" (ctx: rawptr, data: rawptr, size: c.int)