Fix typo in the initial check of Image::scaleImage().
This commit is contained in:
parent
6ae1139630
commit
69667a478f
@ -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