mirror of
				https://notabug.org/scuti/lib3ddevil1
				synced 2025-05-31 14:11:42 +05:30 
			
		
		
		
	Cleaned up scrapped statements
This commit is contained in:
		| @@ -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; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user