Cleaned up scrapped statements

This commit is contained in:
_ 2018-04-05 01:10:06 -07:00
parent 6f915237b4
commit d3f6a20bec

View File

@ -63,9 +63,6 @@ unsigned int gettexturebatch(
const char *filedata,
unsigned int filesize) {
struct TexturePack *tp = (struct TexturePack*)filedata;
// struct TextureBatchDescriptor **bds = NULL;
// bds = (struct TextureBatchDescriptor**)malloc(tp -> batchNumber);
// gettbd(bds, filedata, filesize);
unsigned int offset = tp -> firstBatchOffset;
unsigned int i;
unsigned int j;
@ -79,7 +76,6 @@ unsigned int gettexturebatch(
offset += bds[i] -> textureSize * (bds[i] -> texNumber);
totaltextures += bds[i] -> texNumber;
}
// free(bds);
return totaltextures;
}