So, iOS 6 is out and - in order to test my app on a physical device - I updated XCode to version 4.5 this morning.
Before that, almost everything worked just fine, using SDL 1.3.
Now I have a good number of issues to deal with:
On simulator, the screen is rendered in portrait mode regardless of the width/height ratio I set in SDL_CreateWindow().
I call:
Code:
#define GAME_TITLE “MySDLGame”
const int SCREEN_W = 480;
const int SCREEN_H = 320;
While debugging on device, debuggers acts crazy, jumping between lines of code totally unrelated to each other and displaying weird variable values. However, if I place no breakpoints, everything seems to work fine.
Anyone had similar problems? Are there known fixes or workarounds?
SDL rotation on iOS has been recently updated so the best suggestion is to
try the latest development version from HG (and get rid of any sdl-1.3
references, sdl-2 ftw).
**
So, iOS 6 is out and - in order to test my app on a physical device - I
updated XCode to version 4.5 this morning.
Before that, almost everything worked just fine, using SDL 1.3.
Now I have a good number of issues to deal with:
On simulator, the screen is rendered in portrait mode regardless of the
width/height ratio I set in SDL_CreateWindow().
I call:
Code:
#define GAME_TITLE “MySDLGame”
const int SCREEN_W = 480;
const int SCREEN_H = 320;
This is the result, while displaying the initial logo (which should be,
obviously, fullscreen):
On device, however, this works fine.
While debugging on device, debuggers acts crazy, jumping between lines
of code totally unrelated to each other and displaying weird variable
values. However, if I place no breakpoints, everything seems to work fine.
Anyone had similar problems? Are there known fixes or workarounds?