Showing the changes to interface/src/scripting/PlatformInfoScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -133,3 +133,11 @@ bool PlatformInfoScriptingInterface::hasRiftControllers() { · 132 unmodified lines | ||
| 133 | 133 | bool PlatformInfoScriptingInterface::hasViveControllers() { |
| 134 | 134 | return qApp->hasViveControllers(); |
| 135 | 135 | } |
| 136 | + | |
| 137 | +bool PlatformInfoScriptingInterface::has3DHTML() { | |
| 138 | +#if defined(Q_OS_ANDROID) | |
| 139 | + return false; | |
| 140 | +#else | |
| 141 | + return true; | |
| 142 | +#endif | |
| 143 | +} | |