Fix return location.

This commit is contained in:
Syoyo Fujita 2018-02-28 19:59:32 +09:00
parent 493cad4e64
commit 0b01361d15
2 changed files with 3 additions and 2 deletions

View File

@ -470,7 +470,8 @@ bool LoadGLTF(const std::string &filename, float scale,
ret = true; ret = true;
} }
return ret;
} }
return ret;
} }
} // namespace example } // namespace example

View File

@ -443,7 +443,7 @@ bool Renderer::Render(float* rgba, float* aux_rgba, int* sample_counts,
float specular_col[3]; float specular_col[3];
//tigra: material_id is ok //tigra: material_id is ok
if(material_id>=0 && material_id<materials.size()) if(material_id<materials.size())
{ {
//printf("ok mat\n"); //printf("ok mat\n");