Commit af371a49 authored by Christopher Tenter's avatar Christopher Tenter
Browse files

missing glColorMaterial call, maybe

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20263 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0063193d
......@@ -539,6 +539,9 @@ draw(GLState& _state, const DrawModes::DrawMode& _drawMode) {
if (!colorMatEnabled)
ACG::GLState::enable(GL_COLOR_MATERIAL);
glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);
drawMesh_->draw(textureMap_, true);
ACG::GLState::depthRange(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