From 37373aaf35cf91d850f9394c987f1560754f581d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 21 Mar 2020 21:18:01 +0100 Subject: [PATCH] MeshTools: minor. --- src/Magnum/MeshTools/Compile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/MeshTools/Compile.cpp b/src/Magnum/MeshTools/Compile.cpp index 7905e6730..cf10ffb75 100644 --- a/src/Magnum/MeshTools/Compile.cpp +++ b/src/Magnum/MeshTools/Compile.cpp @@ -81,8 +81,8 @@ GL::Mesh compileInternal(const Trade::MeshData& meshData, GL::Buffer&& indices, switch(meshData.attributeName(i)) { case Trade::MeshAttribute::Position: - /* Pick 3D position always, the type will properly reduce it to - a 2-component version if needed */ + /* Pick 3D position always, the format will properly reduce it + to a 2-component version if needed */ attribute.emplace(Shaders::Generic3D::Position{}, format); break; case Trade::MeshAttribute::Normal: @@ -96,7 +96,7 @@ GL::Mesh compileInternal(const Trade::MeshData& meshData, GL::Buffer&& indices, case Trade::MeshAttribute::Color: /** @todo have Generic2D derived from Generic that has all attribute definitions common for 2D and 3D */ - /* Pick Color4 always, the type will properly reduce it to a + /* Pick Color4 always, the format will properly reduce it to a 3-component version if needed */ attribute.emplace(Shaders::Generic2D::Color4{}, format); break;