aboutsummaryrefslogtreecommitdiff
path: root/vendor/raylib
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2024-08-24 22:56:49 +0200
committerGitHub <noreply@github.com>2024-08-24 22:56:49 +0200
commiteef4dffa12b86fea6a4ebeaa654ea8d709aec078 (patch)
tree389598e361333f5b05c38c8cd2ccf9f85a678706 /vendor/raylib
parent0a825fc44d8923a8e5977d5f233db4a387f1faef (diff)
parent25e8a6353d6043aeefbed70e9e85c7e7414bc5a0 (diff)
Merge pull request #4134 from karl-zylinski/fix-raylib-LoadImageAnim-binding
Fix binding: Make rl.LoadImageAnim take a pointer instead of a multi-pointer.
Diffstat (limited to 'vendor/raylib')
-rw-r--r--vendor/raylib/raylib.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/raylib/raylib.odin b/vendor/raylib/raylib.odin
index c7cf7d21c..8d26c8824 100644
--- a/vendor/raylib/raylib.odin
+++ b/vendor/raylib/raylib.odin
@@ -1254,7 +1254,7 @@ foreign lib {
LoadImage :: proc(fileName: cstring) -> Image --- // Load image from file into CPU memory (RAM)
LoadImageRaw :: proc(fileName: cstring, width, height: c.int, format: PixelFormat, headerSize: c.int) -> Image --- // Load image from RAW file data
LoadImageSvg :: proc(fileNameOrString: cstring, width, height: c.int) -> Image --- // Load image from SVG file data or string with specified size
- LoadImageAnim :: proc(fileName: cstring, frames: [^]c.int) -> Image --- // Load image sequence from file (frames appended to image.data)
+ LoadImageAnim :: proc(fileName: cstring, frames: ^c.int) -> Image --- // Load image sequence from file (frames appended to image.data)
LoadImageFromMemory :: proc(fileType: cstring, fileData: rawptr, dataSize: c.int) -> Image --- // Load image from memory buffer, fileType refers to extension: i.e. '.png'
LoadImageFromTexture :: proc(texture: Texture2D) -> Image --- // Load image from GPU texture data
LoadImageFromScreen :: proc() -> Image --- // Load image from screen buffer and (screenshot)