Commit b3813717 authored by Gerhard Stein's avatar Gerhard Stein

Added landscape hint for sdl2 android

parent b121ad36
...@@ -27,6 +27,11 @@ bool CSDLVideo::init() ...@@ -27,6 +27,11 @@ bool CSDLVideo::init()
#if SDL_VERSION_ATLEAST(2, 0, 0) #if SDL_VERSION_ATLEAST(2, 0, 0)
#ifdef ANDROID
SDL_SetHint(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight");
#endif
if(m_VidConfig.mRenderScQuality == "linear") if(m_VidConfig.mRenderScQuality == "linear")
{ {
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear"); SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment