Fix build break.

This commit is contained in:
Philip Rideout
2019-06-21 18:48:40 -07:00
parent a79a83d6da
commit e4e439e2bf

View File

@@ -197,8 +197,7 @@ bool ResourceLoader::loadResources(FilamentAsset* asset) {
#endif
#ifndef NDEBUG
result = cgltf_validate(gltf);
if (result != cgltf_result_success) {
if (cgltf_validate(gltf) != cgltf_result_success) {
slog.e << "Failed cgltf validation." << io::endl;
return false;
}