test/automated/common/common.h
changeset 7051 cf773d8091c7
parent 3477 2c07bb579922
child 7053 187225ae13e5
equal deleted inserted replaced
7050:aa1f44908402 7051:cf773d8091c7
    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 unsigned 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