03-22-2012 08:03 PM
Hey all! I have just started setting up NDK 2 on my laptop, and it's been lots of fun getting all of my SDL game code ported over and building on the Playbook.
One of the problems I'm running into is that BB SDL doesn't appear to support orientation changes. At least, when I try to refresh the video mode, I get this:
OpenGL window already created... this WILL fail
eglCreateWindowSurface: failed to allocate resources for the requested operation
That's always encouraging.
Any thoughts? I poked around a bit in PLAYBOOK_SetVideoMode_GL(), but got nowhere fast.
It also looks like orientation-change events themselves aren't really being handled at all. I had to go peeking in orientation_get() to see the hardware orientation change at all.
Do any of the developers of this SDL port hang out around this forum? Can anybody speak to the possibility of getting orientation changes handled possibly through SDL_VIDEORESIZE events?
Thanks a ton!
03-23-2012 11:19 AM
Thank you, your suggestion sounds great. The team handling the SDL port has been informed of your suggestions. We welcome suggestions and contributions from the community and will prioritize appropriately.