mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Unify foreign import for vendor:sdl2
This commit is contained in:
Vendored
-6
@@ -2,12 +2,6 @@ package sdl2
|
||||
|
||||
import "core:c"
|
||||
|
||||
when ODIN_OS == .Windows {
|
||||
foreign import lib "SDL2.lib"
|
||||
} else {
|
||||
foreign import lib "system:SDL2"
|
||||
}
|
||||
|
||||
SWSURFACE :: 0 /**< Just here for compatibility */
|
||||
PREALLOC :: 0x00000001 /**< Surface uses preallocated memory */
|
||||
RLEACCEL :: 0x00000002 /**< Surface is RLE encoded */
|
||||
|
||||
Reference in New Issue
Block a user