view src/video/uikit/jumphack.c @ 3110:e6c21c14ce3a

Added OpenGL ES context creation for the each window which has been created (for --windows=N option).
author Mike Gorchak <lestat@i.com.ua>
date Tue, 28 Apr 2009 04:38:51 +0000
parents f55c87ae336b
children e8045ba3f79f
line wrap: on
line source

/*
 *  jumphack.c
 *  SDLiPhoneOS
 *
 */

#include "jumphack.h"

/* see SDL_uikitevents.m for more info */

/* stores the information we need to jump back */
jmp_buf env;

/* returns the jump environment for setting / getting purposes */
jmp_buf *
jump_env()
{
    return &env;
}