|
@@ -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 ---
|
|
@@ -561,4 +561,4 @@ foreign lib {
|
|
MapRGBA :: proc(format: ^PixelFormatDetails, palette: ^Palette, r, g, b, a: Uint8) -> Uint32 ---
|
|
MapRGBA :: proc(format: ^PixelFormatDetails, palette: ^Palette, r, g, b, a: Uint8) -> Uint32 ---
|
|
GetRGB :: proc(pixel: Uint32, format: ^PixelFormatDetails, palette: ^Palette, r, g, b: ^Uint8) ---
|
|
GetRGB :: proc(pixel: Uint32, format: ^PixelFormatDetails, palette: ^Palette, r, g, b: ^Uint8) ---
|
|
GetRGBA :: proc(pixel: Uint32, format: ^PixelFormatDetails, palette: ^Palette, r, g, b, a: ^Uint8) ---
|
|
GetRGBA :: proc(pixel: Uint32, format: ^PixelFormatDetails, palette: ^Palette, r, g, b, a: ^Uint8) ---
|
|
-}
|
|
|
|
|
|
+}
|