Skip to content
Permalink
Browse files

Fix andorid build error

  • Loading branch information
sapier authored and sapier committed Jan 6, 2015
1 parent 0f1d339 commit 42f3515c0e42c2cb85f0e6898ca54a3fe8dd2bfb
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 42f3515

Please sign in to comment.