| Index: third_party/ktx/ktx.h
|
| diff --git a/third_party/ktx/ktx.h b/third_party/ktx/ktx.h
|
| index 2f445a817a0e6a9fcf0fe10ffc2560370e8f65e7..1114b49bf94a4a1b396db03db5b8a73cf821797e 100644
|
| --- a/third_party/ktx/ktx.h
|
| +++ b/third_party/ktx/ktx.h
|
| @@ -11,6 +11,7 @@
|
| #define SkKTXFile_DEFINED
|
|
|
| #include "SkData.h"
|
| +#include "SkTextureCompressor.h"
|
| #include "SkTypes.h"
|
| #include "SkTDArray.h"
|
| #include "SkString.h"
|
| @@ -58,7 +59,7 @@ public:
|
|
|
| int numMipmaps() const { return static_cast<int>(fHeader.fNumberOfMipmapLevels); }
|
|
|
| - bool isETC1() const;
|
| + bool isCompressedFormat(SkTextureCompressor::Format fmt) const;
|
| bool isRGBA8() const;
|
| bool isRGB8() const;
|
|
|
|
|