Changeset 13787

Show
Ignore:
Timestamp:
11/28/14 17:27:16 (less than one hour ago)
Author:
robert
Message:

Added simple test script for osgUI's TabWidget?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-3.2/src/osgPlugins/dds/ReaderWriterDDS.cpp

    r13518 r13787  
    10601060    //unsigned int components     = osg::Image::computeNumComponents(pixelFormat); 
    10611061    unsigned int pixelSize      = osg::Image::computePixelSizeInBits(pixelFormat, dataType); 
    1062     unsigned int imageSize      = img->getImageSizeInBytes(); 
     1062    unsigned int imageSize      = img->getTotalSizeInBytes(); 
    10631063 
    10641064    // Check that theorical image size (computation taking into account DXTC blocks) is not bigger than actual image size.