Caleb Heydon
2 viikkoa sitten
committed by
GitHub
vanhempi
commit
f3f5f38c0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 muutettua tiedostoa jossa
2 lisäystä ja
0 poistoa
-
src/rmodels.c
|
|
@ -5060,6 +5060,8 @@ static Image LoadImageFromCgltfImage(cgltf_image *cgltfImage, const char *texPat |
|
|
|
{ |
|
|
|
Image image = { 0 }; |
|
|
|
|
|
|
|
if (cgltfImage == NULL) return image; |
|
|
|
|
|
|
|
if (cgltfImage->uri != NULL) // Check if image data is provided as an uri (base64 or path) |
|
|
|
{ |
|
|
|
if ((strlen(cgltfImage->uri) > 5) && |
|
|
|