From 2a091cc86fe40da0e018a227ddfefd8035960fad Mon Sep 17 00:00:00 2001 From: halx99 Date: Mon, 2 Dec 2019 23:01:06 +0800 Subject: [PATCH] fix etc1 supported for android platform. --- cocos/platform/CCImage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/platform/CCImage.cpp b/cocos/platform/CCImage.cpp index f2054cb75c..5ed73136f7 100644 --- a/cocos/platform/CCImage.cpp +++ b/cocos/platform/CCImage.cpp @@ -117,6 +117,7 @@ extern "C" #include "base/ZipUtils.h" #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #include "platform/android/CCFileUtils-android.h" +#include "platform/CCGL.h" #endif #define CC_GL_ATC_RGB_AMD 0x8C92