mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 19:39:47 +00:00
defined() would be better ig
This commit is contained in:
parent
845d721b1e
commit
fe73853a64
1 changed files with 4 additions and 4 deletions
|
|
@ -1106,9 +1106,9 @@ void Minecraft::releaseMouse()
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Minecraft::useTouchscreen() {
|
bool Minecraft::useTouchscreen() {
|
||||||
#if TARGET_OS_IPHONE
|
#if defined(TARGET_OS_IPHONE)
|
||||||
return true;
|
return true;
|
||||||
#elif RPI
|
#elif defined(RPI)
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
return options.getBooleanValue(OPTIONS_USE_TOUCHSCREEN) && !_supportsNonTouchscreen;
|
return options.getBooleanValue(OPTIONS_USE_TOUCHSCREEN) && !_supportsNonTouchscreen;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue