From 3f249fcb5739ec4c2b2a07efbe10fb2141f47c5f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 16 Apr 2002 15:44:31 +0000 Subject: [PATCH] Fix to TXP plugin to handle to new osg::Image method naming. --- src/osgPlugins/txp/TrPageArchive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/txp/TrPageArchive.cpp b/src/osgPlugins/txp/TrPageArchive.cpp index 756fd6626..65880963c 100644 --- a/src/osgPlugins/txp/TrPageArchive.cpp +++ b/src/osgPlugins/txp/TrPageArchive.cpp @@ -208,7 +208,7 @@ void TrPageArchive::LoadMaterials() if(osg_texture->getImage()) { - switch (osg_texture->getImage()->pixelFormat()) + switch (osg_texture->getImage()->getPixelFormat()) { case GL_LUMINANCE_ALPHA: case GL_RGBA: