mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
662a9e99f5
- remove cocos2dx folder - change all include paths in cocos2d to be relative
16 lines
214 B
C++
Vendored
16 lines
214 B
C++
Vendored
#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
|