Namespaced Rect and Frame to osgfxbrowser::Rect/Frame, as this was causing
a namespace collision with CGL
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <osgText/Text>
|
||||
|
||||
namespace osgfxbrowser {
|
||||
|
||||
Frame::Frame()
|
||||
: osg::Geode(),
|
||||
bgcolor_(0.5f, 0.5f, 0.5f, 1.0f),
|
||||
@@ -95,3 +97,5 @@ osg::Geometry *Frame::build_quad(const Rect &rect, const osg::Vec4 &color, bool
|
||||
|
||||
return geo.take();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user