Unify foreign import for vendor:sdl2
This commit is contained in:
1 parent
9d23a392a6
commit
b2b88f1d99
29 files changed
+4
-166
No files matched your search
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