Compile fixes.
This commit is contained in:
@@ -29,8 +29,8 @@ void MyRenderToTextureStage::draw(osg::State& state, osgUtil::RenderLeaf*& previ
|
||||
{
|
||||
// Create pbuffer texture
|
||||
const unsigned int contextID = state.getContextID();
|
||||
osg::Texture::TextureObject* textureObeject = _texture->getTextureObject(contextID);
|
||||
if (textureObeject == 0)
|
||||
osg::Texture::TextureObject* textureObject = _texture->getTextureObject(contextID);
|
||||
if (textureObject == 0)
|
||||
{
|
||||
// Create dynamic texture, subload callback required.
|
||||
_texture->apply(state);
|
||||
|
||||
@@ -434,7 +434,7 @@ public:
|
||||
{
|
||||
apply(drawable->getStateSet());
|
||||
|
||||
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects());
|
||||
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects())
|
||||
{
|
||||
drawable->dirtyDisplayList();
|
||||
}
|
||||
|
||||
@@ -356,7 +356,7 @@ public:
|
||||
{
|
||||
apply(drawable->getStateSet());
|
||||
|
||||
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects());
|
||||
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects())
|
||||
{
|
||||
drawable->dirtyDisplayList();
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ CXXFILES =\
|
||||
OsgSceneHandler.cpp\
|
||||
ViewerEventHandler.cpp\
|
||||
Viewer.cpp\
|
||||
Version.cpp\
|
||||
|
||||
LIBS += -lProducer $(GL_LIBS) -losgText -losgGA -losgUtil -losgDB -losg $(OTHER_LIBS)
|
||||
DEF += -DOSGPRODUCER_LIBRARY
|
||||
|
||||
Reference in New Issue
Block a user