view src/video/uikit/jumphack.c @ 2467:058e1f140ff3 gsoc2008_iphone

Fixed problem where creating the view passed NULL as the context for setting current context ... needed to actually pass the context.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Mon, 18 Aug 2008 19:39:08 +0000
parents 69ca51fd121d
children
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; }