Explorar el Código

MeshViewer : stupid crashfix

legacy
Benjamin ‘Touky’ Huet touky hace 12 años
padre
commit
167915fd2b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      test/meshviewer.cpp

+ 1
- 1
test/meshviewer.cpp Ver fichero

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


Cargando…
Cancelar
Guardar