view src/video/uikit/jumphack.h @ 3473:7bdc10624cba

This is terrible, but the OpenGL standard says that lines are half open, which means that one endpoint is not covered so adjoining lines don't overlap. It also doesn't define which end is open, and indeed Mac OS X and Linux differ. Mac OS X seems to leave the second endpoint open, but Linux uses the right-most endpoint for x major lines and the bottom-most endpoint for y major lines.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 21 Nov 2009 07:14:21 +0000
parents f55c87ae336b
children e8045ba3f79f
line wrap: on
line source

/*
 *  jumphack.h
 *  SDLiPhoneOS
 *
 */

#ifndef _jumphack_h
#define _jumphack_h

#include "setjmp.h"

/* see SDL_uikitevents.m for more info */

extern jmp_buf *jump_env();

#endif