mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-29 02:02:04 +05:30
Cleaned up scrapped statements
This commit is contained in:
parent
6f915237b4
commit
d3f6a20bec
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user