equal
deleted
inserted
replaced
20 |
20 |
21 typedef struct SurfaceImage_s { |
21 typedef struct SurfaceImage_s { |
22 int width; |
22 int width; |
23 int height; |
23 int height; |
24 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ |
24 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ |
25 const unsigned char *pixel_data; |
25 const char *pixel_data; |
26 } SurfaceImage_t; |
26 } SurfaceImage_t; |
27 |
27 |
28 #define ALLOWABLE_ERROR_OPAQUE 0 |
28 #define ALLOWABLE_ERROR_OPAQUE 0 |
29 #define ALLOWABLE_ERROR_BLENDED 64 |
29 #define ALLOWABLE_ERROR_BLENDED 64 |
30 |
30 |