view XCodeiPhoneOS/Demos/src/common.h @ 3147:a80760096937 gsoc2009_ps3

Support all YUV texture formats using SW_Textures.
author Martin Lowinski <martin@goldtopf.org>
date Thu, 18 Jun 2009 03:27:12 +0000
parents f55c87ae336b
children
line wrap: on
line source

/*
 *	common.h
 *	written by Holmes Futrell
 *	use however you want
 */

#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 480

extern int randomInt(int min, int max);
extern float randomFloat(float min, float max);
extern void fatalError(const char *string);