Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix andorid build error
  • Loading branch information
sapier authored and sapier committed Jan 6, 2015
1 parent 0f1d339 commit 42f3515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/porting.cpp
Expand Up @@ -575,6 +575,7 @@ v2u32 getWindowSize()
return device->getVideoDriver()->getScreenSize();
}

#ifndef __ANDROID__
#ifdef XORG_USED
float getDisplayDensity()
{
Expand Down Expand Up @@ -609,7 +610,6 @@ float getDisplayDensity()
}
#endif

#ifndef __ANDROID__
v2u32 getDisplaySize()
{
IrrlichtDevice *nulldevice = createDevice(video::EDT_NULL);
Expand Down

0 comments on commit 42f3515

Please sign in to comment.