mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-20 10:18:14 +00:00
Update rmodels.c
This commit is contained in:
@@ -4409,7 +4409,7 @@ static Image LoadImageFromCgltfImage(cgltf_image *image, const char *texPath, Co
|
||||
n += stride;
|
||||
}
|
||||
|
||||
rimage = LoadImageFromMemory(".png", data, size);
|
||||
rimage = LoadImageFromMemory(".png", data, (int)image->buffer_view->size);
|
||||
RL_FREE(data);
|
||||
|
||||
// TODO: Tint shouldn't be applied here!
|
||||
|
Reference in New Issue
Block a user