Game Center no longer working?

Hey, it’s been a few weeks since I touch my program since I’ve been busy with other things. Well it’s now time for me to get back to work but now when I downloaded the most up to date SDL my app does not work good any more.

this is how we use to setup the game center

SDL_uikitviewcontroller *gViewColtroller = NULL;
UIWindow *gWindow = NULL;
SDL_uikitopenglview *gView = NULL;

void SetUIViewController(SDL_Window *aWindow)
{
SDL_WindowData *data = (SDL_WindowData *)aWindow->driverdata;
gViewColtroller = data->viewcontroller; //I get the error here!!!
gWindow = data->uiwindow;
gView = data->view;

}

and this is the error when running

Current language: auto; currently objective-c++
Warning: the current language does not match this frame.

note this worked perfectly fine with my last binary’s.

**
Hey, it’s been a few weeks since I touch my program since I’ve been busy
with other things. Well it’s now time for me to get back to work but now
when I downloaded the most up to date SDL my app does not work good any
more.
SDL_WindowData *data = (SDL_WindowData *)aWindow->driverdata;
gViewColtroller = data->viewcontroller; //I get the error here!!!

I have the same problem, it seems that driverdata (from SDL_Window) is NULL
in recent SDL builds (the window is initialized and I’ve already rendered
something to it), there is a cleaner way to get a pointer to the SDL
viewcontroller?On Tue, Dec 11, 2012 at 9:09 AM, stevo5800 wrote:


Bye,
Gabry