diff --git a/cocos/platform/desktop/CCGLViewImpl-desktop.cpp b/cocos/platform/desktop/CCGLViewImpl-desktop.cpp index 51b3be9bc3..09d47aa570 100644 --- a/cocos/platform/desktop/CCGLViewImpl-desktop.cpp +++ b/cocos/platform/desktop/CCGLViewImpl-desktop.cpp @@ -40,6 +40,8 @@ THE SOFTWARE. #include "base/ccUTF8.h" #include "2d/CCCamera.h" +#include "renderer/backend/opengl/MacrosGL.h" + #if defined(_WIN32) #include "glfw3ext.h" #endif