diff --git a/src/devil1tex.c b/src/devil1tex.c index 1729cce..b7285d7 100644 --- a/src/devil1tex.c +++ b/src/devil1tex.c @@ -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; }