follow guidelin convention
This commit is contained in:
parent
9f1a92441a
commit
c55e579271
|
|
@ -4815,8 +4815,8 @@ static Image LoadImageFromCgltfImage(cgltf_image *cgltfImage, const char *texPat
|
|||
else
|
||||
{
|
||||
int base64Size = (int)strlen(cgltfImage->uri + i + 1);
|
||||
while( cgltfImage->uri[ i + base64Size ] == '=' ) base64Size--; // remove optional paddings
|
||||
int numberOfEncodedBits = base64Size * 6 - ( base64Size * 6 ) % 8 ; // ignore extra bits
|
||||
while (cgltfImage->uri[i+base64Size] == '=') base64Size--; // remove optional paddings
|
||||
int numberOfEncodedBits = base64Size * 6 - (base64Size * 6) % 8 ; // ignore extra bits
|
||||
int outSize = numberOfEncodedBits / 8 ; // actual encoded bytes
|
||||
void *data = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user