diff --git a/src/Nazara/Utility/SkeletalMesh.cpp b/src/Nazara/Utility/SkeletalMesh.cpp index a04c56c01..75cd2117e 100644 --- a/src/Nazara/Utility/SkeletalMesh.cpp +++ b/src/Nazara/Utility/SkeletalMesh.cpp @@ -3,7 +3,6 @@ // For conditions of distribution and use, see copyright notice in Config.hpp #include -#include #include #include #include @@ -255,8 +254,6 @@ void NzSkeletalMesh::Skin(const NzSkeleton* skeleton) NzVertexStruct_XYZ_Normal_UV_Tangent* inputVertex = reinterpret_cast(m_impl->bindPoseBuffer); NzVertexStruct_XYZ_Normal_UV_Tangent* outputVertex = reinterpret_cast(outputBuffer); - NzClock c; - const NzJoint* joints = skeleton->GetJoints(); unsigned int vertexCount = m_impl->vertexBuffer->GetVertexCount(); for (unsigned int i = 0; i < vertexCount; ++i) @@ -291,10 +288,6 @@ void NzSkeletalMesh::Skin(const NzSkeleton* skeleton) outputVertex++; } - nzUInt64 t = c.GetMicroseconds(); - - NazaraError("Skinning took a total of " + NzString::Number(t) + "us\n\n"); - if (!m_impl->vertexBuffer->Unmap()) NazaraWarning("Failed to unmap vertex buffer"); }