mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 10:50:05 +00:00
vendor/sdl3: changed GetPixelFormatName() return type from rawptr to cstring
This commit is contained in:
Vendored
+1
-1
@@ -550,7 +550,7 @@ PixelFormatDetails :: struct {
|
|||||||
|
|
||||||
@(default_calling_convention="c", link_prefix="SDL_")
|
@(default_calling_convention="c", link_prefix="SDL_")
|
||||||
foreign lib {
|
foreign lib {
|
||||||
GetPixelFormatName :: proc(format: PixelFormat) -> rawptr ---
|
GetPixelFormatName :: proc(format: PixelFormat) -> cstring ---
|
||||||
GetMasksForPixelFormat :: proc(format: PixelFormat, bpp: ^c.int, Rmask, Gmask, Bmask, Amask: ^Uint32) -> bool ---
|
GetMasksForPixelFormat :: proc(format: PixelFormat, bpp: ^c.int, Rmask, Gmask, Bmask, Amask: ^Uint32) -> bool ---
|
||||||
GetPixelFormatForMasks :: proc(bpp: c.int, Rmask, Gmask, Bmask, Amask: Uint32) -> PixelFormat ---
|
GetPixelFormatForMasks :: proc(bpp: c.int, Rmask, Gmask, Bmask, Amask: Uint32) -> PixelFormat ---
|
||||||
GetPixelFormatDetails :: proc(format: PixelFormat) -> ^PixelFormatDetails ---
|
GetPixelFormatDetails :: proc(format: PixelFormat) -> ^PixelFormatDetails ---
|
||||||
|
|||||||
Reference in New Issue
Block a user