geode/loader/include/Geode/cocos/platform/android/CCDevice.cpp
HJfod 662a9e99f5 big cocos reworks
- remove cocos2dx folder
 - change all include paths in cocos2d to be relative
2022-10-17 15:46:36 +03:00

16 lines
214 B
C++

#include "../platform/CCDevice.h"
#include "jni/DPIJni.h"
NS_CC_BEGIN
int CCDevice::getDPI()
{
static int dpi = -1;
if (dpi == -1)
{
dpi = (int)getDPIJNI();
}
return dpi;
}
NS_CC_END