Quirks with SDL_SetRenderLogicalSize() on Android

"neoaggelos" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Hello,

Is there anyone who has actually managed to use SDL_SetRenderLogicalSize() properly under Android? The reason behind this post is that SDL2 2.0.5 seems to be close, so a fix before release would be perfect.

I have encountered a handful of issues while trying to use it. Most of them revolved around mouse coordinates and viewport not being set correctly, especially after resuming the app. Because of those errors, I ended up ditching it and setting the viewport and scale of a renderer by directly (as well as a dirty event watch to fix event coordinates). Because of that, I don't have any code right now that replicates the issue, but if more people have had similar problems, then I could create a test case in hope that any bugs be fixed.

By the way this is with Android NDK 13 and Android API level 15.

------------------------
C is the God's Programming Language

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.