mirror of
				https://notabug.org/scuti/lib3ddevil1
				synced 2025-05-31 14:11:42 +05:30 
			
		
		
		
	Addressed compiler warning in texture demo / pointer types
This commit is contained in:
		| @@ -23,7 +23,7 @@ void extracttextures(const char *filedata, | |||||||
|         DEVIL1TEX.gettextures(t, i, filedata, filesize); |         DEVIL1TEX.gettextures(t, i, filedata, filesize); | ||||||
|         for (j = 0; j < d -> texNumber; j++) { |         for (j = 0; j < d -> texNumber; j++) { | ||||||
|             sprintf(fmt, "%s_%d.dds", filename, id); |             sprintf(fmt, "%s_%d.dds", filename, id); | ||||||
|             write(fmt, t[j].data, d -> textureSize); |             write(fmt, (char*)t[j].data, d -> textureSize); | ||||||
|             id++; |             id++; | ||||||
|         } |         } | ||||||
|         free(t); |         free(t); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user