[SDL] Are there any working SDL Android examples?

Ryan C. Gordon icculus at icculus.org
Wed Jul 27 21:01:27 PDT 2011


> Once you create the window you can call SDL_GetWindowSize to retrieve
> the native size of the screen

SDL_GetDisplayMode() should work, too, and will make your code portable 
to other systems that you don't _really_ want a 0x0 size window on.  :)

(At least, I hope it does. Android devs: is this working?)

--ryan.




More information about the SDL mailing list