move darwin-specific packages in all_vendor_darwin.odin

This commit is contained in:
flysand7
2023-10-30 20:05:58 +11:00
parent 263b3141b5
commit 1577d60d02
2 changed files with 12 additions and 10 deletions

View File

@@ -39,11 +39,6 @@ import TTF "vendor:sdl2/ttf"
import vk "vendor:vulkan"
import NS "vendor:darwin/Foundation"
import MTL "vendor:darwin/Metal"
import MTK "vendor:darwin/MetalKit"
import CA "vendor:darwin/QuartzCore"
// NOTE(bill): only one can be checked at a time
import lua_5_4 "vendor:lua/5.4"
@@ -91,11 +86,6 @@ _ :: TTF
_ :: vk
_ :: NS
_ :: MTL
_ :: MTK
_ :: CA
_ :: lua_5_4
_ :: nvg

View File

@@ -0,0 +1,12 @@
//+build darwin
package all
import NS "vendor:darwin/Foundation"
import MTL "vendor:darwin/Metal"
import MTK "vendor:darwin/MetalKit"
import CA "vendor:darwin/QuartzCore"
_ :: NS
_ :: MTL
_ :: MTK
_ :: CA