mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Merge pull request #2307 from Sanian-Creations/update_vendor-sdl2
Removed multiple "SDL_" prefixes that were missed
This commit is contained in:
Vendored
+1
-1
@@ -294,7 +294,7 @@ WindowShapeModeEnum :: enum c.int {
|
|||||||
ColorKey,
|
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)
|
return bool(mode == .Default || mode == .BinarizeAlpha || mode == .ReverseBinarizeAlpha)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -38,7 +38,7 @@ SystemCursor :: enum c.int {
|
|||||||
NUM_SYSTEM_CURSORS,
|
NUM_SYSTEM_CURSORS,
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_MouseWheelDirection :: enum c.int {
|
MouseWheelDirection :: enum c.int {
|
||||||
NORMAL, /**< The scroll direction is normal */
|
NORMAL, /**< The scroll direction is normal */
|
||||||
FLIPPED, /**< The scroll direction is flipped / natural */
|
FLIPPED, /**< The scroll direction is flipped / natural */
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+3
-3
@@ -49,9 +49,9 @@ TextureAccess :: enum c.int {
|
|||||||
TARGET, /**< Texture can be used as a render target */
|
TARGET, /**< Texture can be used as a render target */
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_TEXTUREMODULATE_NONE :: 0x00000000 /**< No modulation */
|
TEXTUREMODULATE_NONE :: 0x00000000 /**< No modulation */
|
||||||
SDL_TEXTUREMODULATE_COLOR :: 0x00000001 /**< srcC = srcC * color */
|
TEXTUREMODULATE_COLOR :: 0x00000001 /**< srcC = srcC * color */
|
||||||
SDL_TEXTUREMODULATE_ALPHA :: 0x00000002 /**< srcA = srcA * alpha */
|
TEXTUREMODULATE_ALPHA :: 0x00000002 /**< srcA = srcA * alpha */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flip constants for SDL_RenderCopyEx
|
* Flip constants for SDL_RenderCopyEx
|
||||||
|
|||||||
Reference in New Issue
Block a user