Mercurial > sdl-ios-xcode
view src/video/uikit/jumphack.c @ 3488:3d2f42580488
Fixed bug #771
Cleaned up the code a bit and made sure that an OpenGL window gets the OpenGL
renderer. Inspired by a patch from Mason Wheeler.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 24 Nov 2009 16:43:18 +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; }