Caleb Heydon
pirms 2 nedēļām
committed by
GitHub
vecāks
revīzija
f3f5f38c0f
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: B5690EEEBB952194
1 mainītis faili ar
2 papildinājumiem un
0 dzēšanām
-
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) && |
|
|
|