Changeset 13787

Show
Ignore:
Timestamp:
07/24/14 16:14:35 (31 hours ago)
Author:
robert
Message:

Added support for changing background colour of LineEdit? widget when focus changes

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.