From 69667a478f8a1b02e762b116f916f5b842578969 Mon Sep 17 00:00:00 2001 From: Alberto Luaces Date: Wed, 5 Sep 2018 13:27:35 +0200 Subject: [PATCH] Fix typo in the initial check of Image::scaleImage(). --- src/osg/Image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp index becc4bb30..28ab640b6 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -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) {