Browse Source

MeshViewer : stupid crashfix

legacy
Benjamin ‘Touky’ Huet touky 11 years ago
parent
commit
167915fd2b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/meshviewer.cpp

+ 1
- 1
test/meshviewer.cpp View File

@@ -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;


Loading…
Cancel
Save