From 167915fd2b9933714bd6a6ad100590f02b72f154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Fri, 22 Mar 2013 00:54:06 +0000 Subject: [PATCH] MeshViewer : stupid crashfix --- test/meshviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/meshviewer.cpp b/test/meshviewer.cpp index b1e725be..ed7884a5 100644 --- a/test/meshviewer.cpp +++ b/test/meshviewer.cpp @@ -354,7 +354,7 @@ public: //m_meshes[i].m1.MeshConvert(m_texture_shader); //m_meshes[i].m1.MeshConvert(); m_meshes[i].m1.MeshConvert(new DefaultShaderData(((1 << VertexUsage::Position) | (1 << VertexUsage::Normal) | - (1 << VertexUsage::Color) | (VertexUsage::TexCoord)), + (1 << VertexUsage::Color) | (1 << VertexUsage::TexCoord)), m_texture_shader, true)); #endif m_meshes[i].m2 = true;