Fix to TXP plugin to handle to new osg::Image method naming.
This commit is contained in:
parent
5deafbda24
commit
3f249fcb57
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user