[SDL] Are there any working SDL Android examples?

William Dyce wilbefast at gmail.com
Tue Jul 26 22:38:34 PDT 2011


That's very interesting to know - is there any way of knowing what this
resolution is from inside the App? Actually it probably doesn't matter if
everything will just be scaled anyway...

On 27 July 2011 06:15, josebagar <joseba.gar at gmail.com> wrote:

> **
>
>
>
>  Dimitris Zenios wrote:
>
>  What ever you pass it will be overwritten by the native screen
> resolution.
>
> On Tue, Jul 26, 2011 at 5:55 PM, josebagar <> wrote:
>
>
>
>  Quote:
>
>  Thanks for the info, I was looking into this too myself.
> Just one more question: how do I force the window to start in the device's
> native resolution? Just setting 0 for both width and height in
> SDL_CreateWindow?
> Or do I have to actually know the device's resolution before setting it?
> _______________________________________________
> SDL mailing list
>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
>
>
> _______________________________________________
> SDL mailing list
>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
>
> Thanks. I'm working with a game engine that sits on top of SDL so that's
> probably the cause of the video mode not being set correctly, then.
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110727/47c288f2/attachment-0008.htm>


More information about the SDL mailing list