title: Forcing auto-rotation to stop (Android, C++, SDL2)
body: <p>I have a game and it runs well on Android through an application called C4Droid (If you don't know about C4Droid, just google it). It is written in C++ and only uses SDL2.</p>
  
  <p>It runs on portrait and so, when I tilt the device with auto-rotation turned on, it gets landscape.</p>
  
  <p>Now, what I wanted is to do something that avoids it to get landscape even when auto-rotation is turned on. Answer please?</p>