view src/video/uikit/jumphack.c @ 4985:047a580d30f3

Fixed blue-red channel swap in OpenGL ES 16-bit texture formats
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Jan 2011 15:23:19 -0800
parents e8045ba3f79f
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(void)
{
    return &env;
}