SDL_GetDisplayMode on iPad gives 1024x768 instead of 768x102

sheesh!
what luck… i just ran into this problem…
so would this patch enable an SDL app on iPad launched in landscape mode to actually come up in landscape mode?
(i.e. w=1024, h=768)?

-pete andrews

Alas, no. It still comes up in portrait.

You still have to do a glRotate and glTranslate. It took
me a few hours to get it right though. In our program we also have
to flip top/bottom, etc.

Anyway, now it comes up in landscape.

If you’re interested, have a look at TuxCap, that’s were the code
is.

– KeesOn 21 Feb, 2011, at 20:13 , iampeteandrews wrote:

sheesh!
what luck… i just ran into this problem…
so would this patch enable an SDL app on iPad launched in landscape mode to actually come up in landscape mode?
(i.e. w=1024, h=768)?