Caleb Heydon
2 tygodni temu
committed by
GitHub
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z
2 dodań i
0 usunięć
-
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) && |
|
|
|