<div dir="ltr"><div class="gmail_extra">The code from github (<a href="https://github.com/lanurmi/sailfish-minimal-sdl" target="_blank" style="font-size:12.8px">https://github.com/<wbr>lanurmi/sailfish-minimal-sdl</a><span style="font-size:12.8px"> ) says it doesn't use OpenGL and also it uses SDL_CreateRenderer</span></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px">Does it work in both modes (landscape and portrait)? What if you want to use OpenGL and do your own rendering, what then regarding both modes?</span></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px">Under Android the landscape/portrait mode is derived from the manifest file. Under iOS there is a similar technology were you set the properties of the window and also you can pass hint to SDL2 (according to documentation only available for iOS). Similarly you can set the window rotation for other (now dead) OSs like webOS, BlackBerry (both BB10 and PlayBook)</span></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px">What about the SailfishOS?</span></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>