Index: Sources/API/Display/SurfaceProviders/canvas.h =================================================================== RCS file: /var/lib/cvs/Libs/ClanLib-0.6/Sources/API/Display/SurfaceProviders/canvas.h,v retrieving revision 1.9 diff -u -r1.9 canvas.h --- Sources/API/Display/SurfaceProviders/canvas.h 13 Jun 2002 15:01:55 -0000 1.9 +++ Sources/API/Display/SurfaceProviders/canvas.h 25 Apr 2003 14:35:35 -0000 @@ -64,10 +64,17 @@ int width, int height, int no_sprs = 1, +#ifdef USE_BIG_ENDIAN + int red_mask = 0x000000ff, + int green_mask = 0x0000ff00, + int blue_mask = 0x00ff0000, + int alpha_mask = 0xff000000, +#else int red_mask = 0xff000000, int green_mask = 0x00ff0000, int blue_mask = 0x0000ff00, int alpha_mask = 0x000000ff, +#endif bool use_transcol = false, unsigned int transcol = 0) { @@ -99,10 +106,17 @@ int width, int height, int no_sprs = 1, +#ifdef USE_BIG_ENDIAN + int red_mask = 0x000000ff, + int green_mask = 0x0000ff00, + int blue_mask = 0x00ff0000, + int alpha_mask = 0xff000000, +#else int red_mask = 0xff000000, int green_mask = 0x00ff0000, int blue_mask = 0x0000ff00, int alpha_mask = 0x000000ff, +#endif bool use_transcol = false, unsigned int transcol = 0) {