blackberry/SDL — pull request #31 by jgranick (2012-09-17 20:45:03+00:00)
Title: Fix screen dimensions for BB10 devices

Instead of hard-coding the window size to 1024 x 600, this patch reuses the "current_w" and "current_h" values, which properly reflect the native screen resolution of the device.

After this change, both landscape and portrait are working properly. I have not tested on the PlayBook yet, but I see no reason this would not work properly there as well.