diff --git a/src/graphics/render_geometry.cpp b/src/graphics/render_geometry.cpp index 6df71b8ad..211e01915 100644 --- a/src/graphics/render_geometry.cpp +++ b/src/graphics/render_geometry.cpp @@ -206,7 +206,8 @@ void renderInstancedMeshes1stPass(const std::vector &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]));