From Martin Naylor, "I am receiving 1 build error whilst building the SVN, its in osgforest as follows:
error C2065: 'GL_RGBA32F' : undeclared identifier Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? Attached is the easy fix :)."
This commit is contained in:
parent
18c37d14cd
commit
02e4aef5cb
@ -1042,7 +1042,7 @@ osg::Node* ForestTechniqueManager::createTextureBufferGraph(Cell* cell, osg::Geo
|
||||
}
|
||||
osg::ref_ptr<osg::TextureBuffer> tbo = new osg::TextureBuffer;
|
||||
tbo->setImage( treeParamsImage.get() );
|
||||
tbo->setInternalFormat(GL_RGBA32F);
|
||||
tbo->setInternalFormat(GL_RGBA32F_ARB);
|
||||
geometry->getOrCreateStateSet()->setTextureAttribute(1, tbo.get());
|
||||
geometry->setInitialBound( cell->_bb );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user