diff options
Diffstat (limited to 'third_party/ktx/ktx.h')
-rw-r--r-- | third_party/ktx/ktx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/ktx/ktx.h b/third_party/ktx/ktx.h index 2f445a817a..1114b49bf9 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; |