Don't mention texture here.

This is a general-purpose function now.
This commit is contained in:
Par Winzell 2017-10-23 17:19:58 -07:00
parent dfb026033d
commit 5a4959d86c
1 changed files with 2 additions and 2 deletions

View File

@ -112,10 +112,10 @@ struct GLTFData
if (file.read(fileBuffer.data(), size)) {
result = AddRawBufferView(buffer, fileBuffer.data(), size);
} else {
fmt::printf("Warning: Couldn't read %lu bytes from %s, skipping\n", size, filename);
fmt::printf("Warning: Couldn't read %lu bytes from %s, skipping file.\n", size, filename);
}
} else {
fmt::printf("Warning: Couldn't open texture file %s, skipping\n", filename);
fmt::printf("Warning: Couldn't open file %s, skipping file.\n", filename);
}
// note that we persist here not only success, but also failure, as nullptr
filenameToBufferView[filename] = result;