mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-29 10:12:02 +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);
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user