neoaggelos
2016-10-08 11:41:17 UTC
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
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