Fixed build error

This commit is contained in:
Robert Osfield 2017-10-16 10:12:19 +01:00
parent 5067db39f8
commit ea379e64e7

View File

@ -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];