Fixed PSP build and integrates it with Travis CI

This commit is contained in:
xawotihs
2013-11-09 19:40:01 +01:00
parent e8c73aaf9d
commit 90652fa73d
5 changed files with 59 additions and 3 deletions

View File

@@ -124,7 +124,9 @@ typedef uint32_t u32;
#define PIXEL_TYPE DWORD
#define ARGB(a, r, g, b) ((PIXEL_TYPE)((a) << 24) | ((r) << 16) | ((g) << 8) | (b))
#define RGBA(r, g, b, a) ((PIXEL_TYPE)((a) << 24) | ((b) << 16) | ((g) << 8) | (r))
#ifndef PSP
#define TEXTURE_FORMAT 0
#endif //PSP
@@ -164,7 +166,6 @@ typedef uint32_t u32;
#if defined (ABGR8888)
#define PIXEL_TYPE u32
#ifndef ARGB
#define ARGB(a, r, g, b) (PIXEL_TYPE)((a << 24) | (b << 16) | (g << 8) | r) // macro to assemble pixels in correct format
#endif