[SDL] iPhone iOS4+SDL+Multitasking cannot restore from suspend

Vittorio G. vitto.giova at yahoo.it
Thu Dec 23 01:09:34 PST 2010


I get the exact behaviour of yours on jailbroken iOS 4.1 but the
screen is restored fine on a standard iOS 4.2
What version of iOS are you using and is the device jailbroken? It
might be either because of iOS < 4.2 or because it's jailbroken (i
suspect the latter)

Vittorio

On Thu, Dec 23, 2010 at 1:02 AM, Alex Barry <alex.barry at gmail.com> wrote:
> Everytime you get a window event, you'll probably have to reload your
> textures.  Just listen for a SDL_WM event and automatically call a function
> to reload whatever textures you are using.  You can probably ignore window
> movement, but resizing/iconifying will certainly need you to reload your
> textures.
>
> Take care,
> -Oz
>
> On Wed, Dec 22, 2010 at 10:12 AM, akr <a.kindlbacher at gmx.de> wrote:
>>
>> Hi,
>>
>> My code is running pretty well on iOS4. Pressing the home button my app
>> goes into background as expected. (minimized)
>> But when I want to bring it back in screen (doubleclick on "home") it
>> comes up with a black screen. I know that its
>> running because I can hear the music playing. How can I restore the
>> screen? I am using opengl.
>>
>> Guess its about restoring opengles textures.
>> _______________________________________________
>> SDL mailing list
>> SDL at lists.libsdl.org
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>



More information about the SDL mailing list