Skip to content

Commit 42f3515

Browse files
sapiersapier
sapier
authored and
sapier
committedJan 6, 2015
Fix andorid build error
1 parent 0f1d339 commit 42f3515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/porting.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ v2u32 getWindowSize()
575575
return device->getVideoDriver()->getScreenSize();
576576
}
577577

578+
#ifndef __ANDROID__
578579
#ifdef XORG_USED
579580
float getDisplayDensity()
580581
{
@@ -609,7 +610,6 @@ float getDisplayDensity()
609610
}
610611
#endif
611612

612-
#ifndef __ANDROID__
613613
v2u32 getDisplaySize()
614614
{
615615
IrrlichtDevice *nulldevice = createDevice(video::EDT_NULL);

0 commit comments

Comments
 (0)
Please sign in to comment.