mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-22 21:54:59 -07:00
Updated SDL_CreateTexture to take PixelFormatEnum instead of u32
This commit is contained in:
Vendored
+1
-1
@@ -76,7 +76,7 @@ foreign lib {
|
||||
GetRenderer :: proc(window: ^Window) -> ^Renderer ---
|
||||
GetRendererInfo :: proc(renderer: ^Renderer, info: ^RendererInfo) -> c.int ---
|
||||
GetRendererOutputSize :: proc(renderer: ^Renderer, w, h: ^c.int) -> c.int ---
|
||||
CreateTexture :: proc(renderer: ^Renderer, format: u32, access: TextureAccess, w, h: c.int) -> ^Texture ---
|
||||
CreateTexture :: proc(renderer: ^Renderer, format: PixelFormatEnum, access: TextureAccess, w, h: c.int) -> ^Texture ---
|
||||
CreateTextureFromSurface :: proc(renderer: ^Renderer, surface: ^Surface) -> ^Texture ---
|
||||
QueryTexture :: proc(texture: ^Texture, format: ^u32, access, w, h: ^c.int) -> c.int ---
|
||||
SetTextureColorMod :: proc(texture: ^Texture, r, g, b: u8) -> c.int ---
|
||||
|
||||
Reference in New Issue
Block a user