mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
Revert "Unify foreign import for vendor:sdl2"
This reverts commit b2b88f1d99.
This commit is contained in:
Vendored
+6
@@ -2,6 +2,12 @@ package sdl2
|
||||
|
||||
import "core:c"
|
||||
|
||||
when ODIN_OS == .Windows {
|
||||
foreign import lib "SDL2.lib"
|
||||
} else {
|
||||
foreign import lib "system:SDL2"
|
||||
}
|
||||
|
||||
Keysym :: struct {
|
||||
scancode: Scancode, /**< SDL physical key code - see ::SDL_Scancode for details */
|
||||
sym: Keycode, /**< SDL virtual key code - see ::SDL_Keycode for details */
|
||||
|
||||
Reference in New Issue
Block a user