mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Revert "Unify foreign import for vendor:sdl2"
This reverts commit b2b88f1d99.
This commit is contained in:
Vendored
+6
@@ -3,6 +3,12 @@ package sdl2
|
||||
import "core:c"
|
||||
import vk "vendor:vulkan"
|
||||
|
||||
when ODIN_OS == .Windows {
|
||||
foreign import lib "SDL2.lib"
|
||||
} else {
|
||||
foreign import lib "system:SDL2"
|
||||
}
|
||||
|
||||
VkInstance :: vk.Instance
|
||||
VkSurfaceKHR :: vk.SurfaceKHR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user