mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-04 09:11:31 -04:00
Please Die
This commit is contained in:
parent
ca4010e3e3
commit
2726a82e64
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue