mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix andorid build error
This commit is contained in:
parent
0f1d33933d
commit
42f3515c0e
1 changed files with 1 additions and 1 deletions
|
@ -575,6 +575,7 @@ v2u32 getWindowSize()
|
||||||
return device->getVideoDriver()->getScreenSize();
|
return device->getVideoDriver()->getScreenSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __ANDROID__
|
||||||
#ifdef XORG_USED
|
#ifdef XORG_USED
|
||||||
float getDisplayDensity()
|
float getDisplayDensity()
|
||||||
{
|
{
|
||||||
|
@ -609,7 +610,6 @@ float getDisplayDensity()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __ANDROID__
|
|
||||||
v2u32 getDisplaySize()
|
v2u32 getDisplaySize()
|
||||||
{
|
{
|
||||||
IrrlichtDevice *nulldevice = createDevice(video::EDT_NULL);
|
IrrlichtDevice *nulldevice = createDevice(video::EDT_NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue