SDL_CreateWindow resolution ignored in iOS (Retina screen mode)

Hi,

I just can’t find the reason why the width and height parameter in the
SDL_CreateWindow function gets ignored if I run my SDL application on the
iPhone4.

I use the following code but the device starts always in 320x480 screen
mode:

SDL_Window *window = SDL_CreateWindow(0, 0, 0, 640, 960, SDL_WINDOW_OPENGL |
SDL_WINDOW_BORDERLESS | SDL_WINDOW_SHOWN);

The same happens on the iPad. Did I miss anything?

Thanks for your help!–
View this message in context: http://old.nabble.com/SDL_CreateWindow-resolution-ignored-in-iOS-(Retina-screen-mode)-tp32238569p32238569.html
Sent from the SDL mailing list archive at Nabble.com.