From 02e4aef5cb47cbf6483367b07ac088ae18a4d3a1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 27 May 2013 08:13:23 +0000 Subject: [PATCH] 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 :)." --- examples/osgforest/osgforest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgforest/osgforest.cpp b/examples/osgforest/osgforest.cpp index 2d06294e5..e59024366 100644 --- a/examples/osgforest/osgforest.cpp +++ b/examples/osgforest/osgforest.cpp @@ -1042,7 +1042,7 @@ osg::Node* ForestTechniqueManager::createTextureBufferGraph(Cell* cell, osg::Geo } osg::ref_ptr 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 ); }