Code comments, log strings and some variable spell fixes.

This commit is contained in:
Alberto Luaces
2020-10-28 17:05:06 +01:00
committed by Robert Osfield
parent 300ba7aa02
commit 2ade061ced
88 changed files with 143 additions and 143 deletions

View File

@@ -543,7 +543,7 @@ public:
// now assign the appropriate portion data from the originalImage
subImage->setImage(originalImage->s()/2, originalImage->t()/2, originalImage->r(), // half the width and height
originalImage->getInternalTextureFormat(), // same internal texture format
originalImage->getPixelFormat(),originalImage->getDataType(), // same pixel foramt and data type
originalImage->getPixelFormat(),originalImage->getDataType(), // same pixel format and data type
originalImage->data(originalImage->s()/4,originalImage->t()/4), // offset the start point to 1/4 into the image
osg::Image::NO_DELETE, // don't attempt to delete the image data, leave this to the originalImage
originalImage->getPacking(), // use the same packing