From 42f3515c0e42c2cb85f0e6898ca54a3fe8dd2bfb Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 7 Jan 2015 00:10:21 +0100 Subject: [PATCH] Fix andorid build error --- src/porting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1