Review spacing formatting
raylib uses spaces between '+' and '-' signs but not between '*' and '/' signs, it's a chosen convention
This commit is contained in:
parent
173f199313
commit
7f0880a735
7 changed files with 99 additions and 91 deletions
|
|
@ -1765,7 +1765,7 @@ static Image LoadPKM(const char *fileName)
|
|||
|
||||
int size = image.width*image.height*bpp/8; // Total data size in bytes
|
||||
|
||||
image.data = (unsigned char*)malloc(size * sizeof(unsigned char));
|
||||
image.data = (unsigned char*)malloc(size*sizeof(unsigned char));
|
||||
|
||||
fread(image.data, 1, size, pkmFile);
|
||||
|
||||
|
|
@ -1858,7 +1858,7 @@ static Image LoadKTX(const char *fileName)
|
|||
int dataSize;
|
||||
fread(&dataSize, sizeof(unsigned int), 1, ktxFile);
|
||||
|
||||
image.data = (unsigned char*)malloc(dataSize * sizeof(unsigned char));
|
||||
image.data = (unsigned char*)malloc(dataSize*sizeof(unsigned char));
|
||||
|
||||
fread(image.data, 1, dataSize, ktxFile);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue