Fix to TXP plugin to handle to new osg::Image method naming.

This commit is contained in:
Robert Osfield 2002-04-16 15:44:31 +00:00
parent 5deafbda24
commit 3f249fcb57

View File

@ -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: