diff options
author | sapier <Sapier at GMX dot net> | 2015-01-07 00:10:21 +0100 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2015-01-07 00:10:21 +0100 |
commit | 42f3515c0e42c2cb85f0e6898ca54a3fe8dd2bfb (patch) | |
tree | a2bd2e70f068b62fc0c60eb8b90dc5da5860794b /src | |
parent | 0f1d33933d264fa84b2d97668258d066da0ca01c (diff) | |
download | minetest-42f3515c0e42c2cb85f0e6898ca54a3fe8dd2bfb.tar.gz minetest-42f3515c0e42c2cb85f0e6898ca54a3fe8dd2bfb.tar.bz2 minetest-42f3515c0e42c2cb85f0e6898ca54a3fe8dd2bfb.zip |
Fix andorid build error
Diffstat (limited to 'src')
-rw-r--r-- | src/porting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/porting.cpp b/src/porting.cpp index 219e1647d..885b36e21 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -575,6 +575,7 @@ v2u32 getWindowSize() return device->getVideoDriver()->getScreenSize(); } +#ifndef __ANDROID__ #ifdef XORG_USED float getDisplayDensity() { @@ -609,7 +610,6 @@ float getDisplayDensity() } #endif -#ifndef __ANDROID__ v2u32 getDisplaySize() { IrrlichtDevice *nulldevice = createDevice(video::EDT_NULL); |