Revert "Unify foreign import for vendor:sdl2"

This reverts commit b2b88f1d99.
This commit is contained in:
gingerBill
2023-05-02 12:06:41 +01:00
parent f0ba5d3821
commit f8bdd42027
29 changed files with 166 additions and 4 deletions
+6
View File
@@ -2,6 +2,12 @@ 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 */