Please Die

This commit is contained in:
ConfiG 2023-09-18 16:15:45 +03:00
parent ca4010e3e3
commit 2726a82e64
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -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