Show
Ignore:
Timestamp:
11/03/09 17:48:48 (5 years ago)
Author:
robert
Message:

Replaced glColor4fv call with osg::State::Color(..)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgforest/osgforest.cpp

    r9800 r10711  
    803803                ++itr) 
    804804            { 
    805                 glColor4fv(itr->ptr()); 
     805                renderInfo.getState()->Color((*itr)[0],(*itr)[1],(*itr)[2],(*itr)[3]); 
    806806                _geometry->draw(renderInfo); 
    807807            }