Merge pull request #617 from aluaces/Image_scaleImage_typo
Fix typo in the initial check of Image::scaleImage().
This commit is contained in:
commit
5d6ab3e6b7
@ -1518,7 +1518,7 @@ void Image::swap(osg::Image& rhs)
|
||||
|
||||
void Image::scaleImage(int s,int t,int r, GLenum newDataType)
|
||||
{
|
||||
if (_s==s && _t==t && _r==r && _dataType==_dataType) return;
|
||||
if (_s==s && _t==t && _r==r && _dataType==newDataType) return;
|
||||
|
||||
if (_data==NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user