Fix linux build.

This commit is contained in:
hiker 2014-09-20 14:35:32 +10:00
parent f25794327b
commit b14abb8b53

View File

@ -206,7 +206,8 @@ void renderInstancedMeshes1stPass(const std::vector<TexUnit> &TexUnits, std::vec
GLMesh *mesh = meshes[i];
#ifdef DEBUG
if (mesh->VAOType != VT)
Log::error("RenderGeometry", "Wrong instanced vertex format (hint : %s)", mesh->textures[0]->getName());
Log::error("RenderGeometry", "Wrong instanced vertex format (hint : %s)",
mesh->textures[0]->getName().getPath().c_str());
#endif
for (unsigned j = 0; j < TexUnits.size(); j++)
Textures.push_back(getTextureGLuint(mesh->textures[TexUnits[j].m_id]));