view src/video/uikit/jumphack.c @ 4433:9fa97c6b0014

Fixed bug 984 SDL_CreateTexture allows the creation of textures of size 0, which can lead to div by 0 errors
author Sam Lantinga <slouken@libsdl.org>
date Thu, 15 Apr 2010 21:27:32 -0700
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;
}