Changeset 13891

Show
Ignore:
Timestamp:
04/23/14 21:30:33 (8 hours ago)
Author:
robert
Message:

Added src/osg/OpenGL.in configuration file and include/osg/OpenGL header files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-3.2/src/osgViewer/Keystone.cpp

    r13587 r13891  
    2121#include <osg/DisplaySettings> 
    2222#include <osg/ValueObject> 
     23#include <osg/PolygonMode> 
    2324 
    2425#include <osgDB/WriteFile> 
     
    209210    geometry->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF); 
    210211    geometry->getOrCreateStateSet()->setRenderBinDetails(0, "RenderBin"); 
     212    geometry->getOrCreateStateSet()->setAttribute(new osg::PolygonMode(), osg::StateAttribute::ON|osg::StateAttribute::PROTECTED); 
    211213 
    212214    kuc->update(geometry.get());