mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-01 16:31:13 +00:00
Merge pull request #2307 from Sanian-Creations/update_vendor-sdl2
Removed multiple "SDL_" prefixes that were missed
This commit is contained in:
2
vendor/sdl2/sdl2.odin
vendored
2
vendor/sdl2/sdl2.odin
vendored
@@ -294,7 +294,7 @@ WindowShapeModeEnum :: enum c.int {
|
||||
ColorKey,
|
||||
}
|
||||
|
||||
SDL_SHAPEMODEALPHA :: #force_inline proc "c" (mode: WindowShapeModeEnum) -> bool {
|
||||
SHAPEMODEALPHA :: #force_inline proc "c" (mode: WindowShapeModeEnum) -> bool {
|
||||
return bool(mode == .Default || mode == .BinarizeAlpha || mode == .ReverseBinarizeAlpha)
|
||||
}
|
||||
|
||||
|
||||
2
vendor/sdl2/sdl_mouse.odin
vendored
2
vendor/sdl2/sdl_mouse.odin
vendored
@@ -38,7 +38,7 @@ SystemCursor :: enum c.int {
|
||||
NUM_SYSTEM_CURSORS,
|
||||
}
|
||||
|
||||
SDL_MouseWheelDirection :: enum c.int {
|
||||
MouseWheelDirection :: enum c.int {
|
||||
NORMAL, /**< The scroll direction is normal */
|
||||
FLIPPED, /**< The scroll direction is flipped / natural */
|
||||
}
|
||||
|
||||
6
vendor/sdl2/sdl_render.odin
vendored
6
vendor/sdl2/sdl_render.odin
vendored
@@ -49,9 +49,9 @@ TextureAccess :: enum c.int {
|
||||
TARGET, /**< Texture can be used as a render target */
|
||||
}
|
||||
|
||||
SDL_TEXTUREMODULATE_NONE :: 0x00000000 /**< No modulation */
|
||||
SDL_TEXTUREMODULATE_COLOR :: 0x00000001 /**< srcC = srcC * color */
|
||||
SDL_TEXTUREMODULATE_ALPHA :: 0x00000002 /**< srcA = srcA * alpha */
|
||||
TEXTUREMODULATE_NONE :: 0x00000000 /**< No modulation */
|
||||
TEXTUREMODULATE_COLOR :: 0x00000001 /**< srcC = srcC * color */
|
||||
TEXTUREMODULATE_ALPHA :: 0x00000002 /**< srcA = srcA * alpha */
|
||||
|
||||
/**
|
||||
* Flip constants for SDL_RenderCopyEx
|
||||
|
||||
Reference in New Issue
Block a user