From ea379e64e76a7f078f61ae810bd968f28b7b291b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 16 Oct 2017 10:12:19 +0100 Subject: [PATCH] Fixed build error --- 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 e755cc65a..2c36d5af8 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -2147,7 +2147,7 @@ Vec4 _readColor(GLenum pixelFormat, T* data,float scale) Vec4 Image::getColor(unsigned int s,unsigned t,unsigned r) const { - if (isCompressed(_pixelFormat)) + if (isCompressed()) { if (dxtc_tool::isDXTC(_pixelFormat)) { unsigned char color[4];