Unify foreign import for vendor:sdl2

This commit is contained in:
gingerBill
2023-04-20 11:27:36 +01:00
parent 9d23a392a6
commit b2b88f1d99
29 changed files with 4 additions and 166 deletions
-6
View File
@@ -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 */