evas buffer engine: use Eina_Bool for one-bit bitfield
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly. Fix the indent where needed as well.
This commit is contained in:
parent
c196422e63
commit
85f6b49044
|
@ -18,14 +18,14 @@ struct _Evas_Engine_Info_Buffer
|
|||
struct {
|
||||
int depth_type;
|
||||
|
||||
void *dest_buffer;
|
||||
int dest_buffer_row_bytes;
|
||||
void *dest_buffer;
|
||||
int dest_buffer_row_bytes;
|
||||
|
||||
char use_color_key : 1;
|
||||
int alpha_threshold;
|
||||
int color_key_r;
|
||||
int color_key_g;
|
||||
int color_key_b;
|
||||
Eina_Bool use_color_key : 1;
|
||||
int alpha_threshold;
|
||||
int color_key_r;
|
||||
int color_key_g;
|
||||
int color_key_b;
|
||||
struct {
|
||||
void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
|
||||
void (*free_update_region) (int x, int y, int w, int h, void *data);
|
||||
|
|
|
@ -44,8 +44,8 @@ struct _Outbuf
|
|||
|
||||
int alpha_level;
|
||||
DATA32 color_key;
|
||||
char use_color_key : 1;
|
||||
char first_frame : 1;
|
||||
Eina_Bool use_color_key : 1;
|
||||
Eina_Bool first_frame : 1;
|
||||
|
||||
struct {
|
||||
void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
|
||||
|
|
Loading…
Reference in New Issue