From 2726a82e64543550be6ce02dfc60bbcbec05d93a Mon Sep 17 00:00:00 2001 From: ConfiG <cgytrus@cgyt.ru> Date: Mon, 18 Sep 2023 16:15:45 +0300 Subject: [PATCH] Please Die --- loader/include/Geode/cocos/include/ccMacros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/include/Geode/cocos/include/ccMacros.h b/loader/include/Geode/cocos/include/ccMacros.h index e2e61514..ada46fa8 100644 --- a/loader/include/Geode/cocos/include/ccMacros.h +++ b/loader/include/Geode/cocos/include/ccMacros.h @@ -247,9 +247,9 @@ It should work same as apples CFSwapInt32LittleToHost(..) */ extern unsigned int ACTUAL_CC_DLL g_uNumberOfDraws; #define CC_INCREMENT_GL_DRAWS(__n__) g_uNumberOfDraws += __n__ -static inline GEODE_INLINE void ccIncrementGLDraws(int n) { +static GEODE_INLINE void ccIncrementGLDraws(int n) { #ifdef GEODE_IS_MACOS - *reinterpret_cast<int*>(macNumberOfDraws()) += n; + *reinterpret_cast<int*>(geode::cocos2d::macNumberOfDraws()) += n; #else CC_INCREMENT_GL_DRAWS(n); #endif