Merge pull request #2307 from Sanian-Creations/update_vendor-sdl2

Removed multiple "SDL_" prefixes that were missed
This commit is contained in:
gingerBill
2023-01-18 12:21:31 +00:00
committed by GitHub
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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)
} }
+1 -1
View File
@@ -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 */
} }
+3 -3
View File
@@ -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