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