Subversion Repositories eduke32

Rev

Rev 4997 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4997 Rev 5000
Line 342... Line 342...
342
{
342
{
343
    switch (event->type)
343
    switch (event->type)
344
    {
344
    {
345
        case SDL_APP_TERMINATING:
345
        case SDL_APP_TERMINATING:
346
            // yes, this calls into the game, ugh
346
            // yes, this calls into the game, ugh
-
 
347
            if (mobile_halted == 1)
347
            G_Shutdown();
348
                G_Shutdown();
-
 
349
-
 
350
            mobile_halted = 1;
348
            return 0;
351
            return 0;
349
        case SDL_APP_LOWMEMORY:
352
        case SDL_APP_LOWMEMORY:
350
            gltexinvalidatetype(INVALIDATE_ALL);
353
            gltexinvalidatetype(INVALIDATE_ALL);
351
            return 0;
354
            return 0;
352
        case SDL_APP_WILLENTERBACKGROUND:
355
        case SDL_APP_WILLENTERBACKGROUND: