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

Fixed non const iterator

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12564 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0755513e
......@@ -400,7 +400,7 @@ availableDrawModes() const
{
DrawModes::DrawMode drawModes(DrawModes::NONE);
for ( std::map<unsigned int,ShaderInfo>::iterator it = shaders.begin(); it != shaders.end(); ++it) {
for ( std::map<unsigned int,ShaderInfo>::const_iterator it = shaders.begin(); it != shaders.end(); ++it) {
// If the shader for this drawmode is initialized, this node supports the given draw mode.
// Then we add it to the list of supported draw modes
if ( it->second.initialized) {
......
Markdown is supported
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