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:
Stefan Schmidt 2015-11-13 13:22:16 +01:00
parent c196422e63
commit 85f6b49044
2 changed files with 9 additions and 9 deletions

View File

@ -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);

View File

@ -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);