Hello all,
My name is Alex Markley, and although this is my first post, I’ve been
lurking+using SDL for quite some time. I have a deep appreciation for
SDL, both the engineering it represents and the raw labor. You guys rock!
I’m working on a personal project that puts some higher level layers on
top of SDL and is intended to run perfectly on various modern systems.
iOS, Android, and BB10 are all in my sights. (Actually, there could be a
whole discussion around BB10, because my code is running perfectly on
BlackBerry PlayBook right now, and it could potentially form the basis
of a BB10 port of SDL2?)
Over the past few days, I have gotten my project running on real Android
hardware using an hg clone of SDL2 from a couple days ago. It seems
nice, but I’m running into some problems.
In particular, when I rotate the phone, the program shuts down. I’m
asking SDL for a resizable window, but upon inspection of the flags the
resizable flag is being unset. And I found this comment in
SDL_androidwindow.c: /* window is NEVER resizeable */
So is rotating/resizing window support not yet implemented in the
Android port? It works semi-acceptably on iOS, and I presume the goal is
to have a similar feature set across all platforms.
I suppose I could have simply posted a bug report and left it at that,
but I wanted to send an email because I would rather be part of the
solution. I’m competent in C and if somebody would be willing to point
me in the right direction I would love to start working on a patch or two.
Thanks for reading.
?
Alex Markley
740.927.3588
PS. I registered for the forum, but apparently I don’t have permission
to post? I’m also lurking in IRC as malexmedia or alexmarkley.