graphics

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit caf50bb2ab0d31758d59e590f73149ce479fbe96
parent 1b6e16a4d1d56269efa60ad6e396352b3fb85573
Author: Brian Swetland <swetland@frotz.net>
Date:   Sat, 22 Jun 2013 06:47:42 -0700

app: RGBA macro

Diffstat:
Mcommon/app.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/common/app.h b/common/app.h @@ -31,6 +31,8 @@ #include <math.h> +#define RGBA(r,g,b,a) ((r&0xFF)|((g&0xFF)<<8)|((b&0xFF)<<16)|((a&0xFF)<<24)) + enum { SRC_INT8, SRC_UINT8,