From d3f6a20bece4d77c4bcccd04bc5e4dd7d3c3969c Mon Sep 17 00:00:00 2001 From: _ <_> Date: Thu, 5 Apr 2018 01:10:06 -0700 Subject: [PATCH] Cleaned up scrapped statements --- src/devil1tex.c | 4 ---- 1 file changed, 4 deletions(-) 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; }