From 0abe5573e5637910d29090810cb3c6ff2d80b97c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Wed, 27 Feb 2013 13:16:47 +0000 Subject: [PATCH] easymesh : an ASSERT was not properly setup. --- src/easymesh/easymesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/easymesh/easymesh.cpp b/src/easymesh/easymesh.cpp index 55bacdee..7bba3a1b 100644 --- a/src/easymesh/easymesh.cpp +++ b/src/easymesh/easymesh.cpp @@ -271,7 +271,7 @@ void GpuEasyMeshData::SetupVertexData(uint16_t vflags, EasyMesh* src_mesh) BUILD_VFLAG_COUNT(has_color, VertexUsage::Color, saveflags, flagnb); BUILD_VFLAG_COUNT(has_texcoord, VertexUsage::TexCoord, saveflags, flagnb); BUILD_VFLAG_COUNT(has_texcoordExt,VertexUsage::TexCoordExt, saveflags, flagnb); - ASSERT(!vflags, "Vertex Declaration setup is not implemented for %s, feel free to do so.", + ASSERT(!saveflags, "Vertex Declaration setup is not implemented for %s, feel free to do so.", VertexUsage::GetNameList(vflags).C()); if (has_position && has_normal && has_color && has_texcoord && has_texcoordExt && flagnb == 5) @@ -398,7 +398,7 @@ void GpuEasyMeshData::RenderMeshData(mat4 const &model) BUILD_VFLAG(has_color, VertexUsage::Color, vflags); BUILD_VFLAG(has_texcoord, VertexUsage::TexCoord, vflags); BUILD_VFLAG_OR(has_texcoord,VertexUsage::TexCoordExt, vflags); - ASSERT(!vflags, "Vertex Streamsetup is not implemented for %s, feel free to do so.", + ASSERT(!vflags, "Vertex Stream setup is not implemented for %s, feel free to do so.", VertexUsage::GetNameList(vflags).C()); int idx = 0;