OpenGL ES view: how to orient it to landscape?
Posted
by Steph Thirion
on Stack Overflow
See other posts from Stack Overflow
or by Steph Thirion
Published on 2009-12-20T20:15:08Z
Indexed on
2010/05/27
3:41 UTC
Read the original article
Hit count: 447
Looking for clues about orienting an OpenGL ES app in landscape, most information I found dates back from 2008, most of it refering to the early versions of the SDK. Apparently, back in the days, in the case of GL it was recommended to not rotate the view, but instead to apply the rotation as a GL transformation. Is it still the case with the current SDKs? It would be so much simpler to simply rotate the window: all the touch events would be in sync with the rotation.
In other words: how to set up an OpenGL view in landscape mode?
© Stack Overflow or respective owner