diff --git a/loader/include/Geode/cocos/include/ccMacros.h b/loader/include/Geode/cocos/include/ccMacros.h
index ada46fa8..e18e2580 100644
--- a/loader/include/Geode/cocos/include/ccMacros.h
+++ b/loader/include/Geode/cocos/include/ccMacros.h
@@ -249,7 +249,7 @@ extern unsigned int ACTUAL_CC_DLL g_uNumberOfDraws;
 #define CC_INCREMENT_GL_DRAWS(__n__) g_uNumberOfDraws += __n__
 static GEODE_INLINE void ccIncrementGLDraws(int n) {
 #ifdef GEODE_IS_MACOS
-    *reinterpret_cast<int*>(geode::cocos2d::macNumberOfDraws()) += n;
+    *reinterpret_cast<int*>(cocos2d::macNumberOfDraws()) += n;
 #else
     CC_INCREMENT_GL_DRAWS(n);
 #endif