We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54722c4 commit 0c6a4a7Copy full SHA for 0c6a4a7
lib/irrlicht/source/Irrlicht/CIrrDeviceSDL.cpp
@@ -92,6 +92,10 @@ CIrrDeviceSDL::CIrrDeviceSDL(const SIrrlichtCreationParameters& param)
92
// Switch SDL disables this hint by default: https://github.com/devkitPro/SDL/pull/55#issuecomment-633775255
93
SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1");
94
95
+#ifdef ANDROID
96
+ SDL_SetHint(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight");
97
+#endif
98
+
99
#ifndef MOBILE_STK
100
// Prevent fullscreen minimizes when losing focus
101
if (CreationParams.Fullscreen)
0 commit comments