Commit 472e45b0 authored by Jan Möbius's avatar Jan Möbius
Browse files

Bugfix from Christopher, Vertex colors were not rendered correctly

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11721 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d51ab424
......@@ -343,6 +343,8 @@ draw(GLState& _state, const DrawModes::DrawMode& _drawMode) {
glDisable(GL_COLOR_MATERIAL);
}
drawMesh_->usePerVertexColors();
draw_faces();
glDepthRange(0.0, 1.0);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment