summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-13 13:22:16 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-13 13:31:34 +0100
commit85f6b49044d36cb6deb15e768236a4c1f92ea0f6 (patch)
treebae14b352115afd94012727de17fc1f59b9cf6ca
parentc196422e634fc7dda6d0f168278305073007985f (diff)
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.
-rw-r--r--src/modules/evas/engines/buffer/Evas_Engine_Buffer.h16
-rw-r--r--src/modules/evas/engines/buffer/evas_engine.h4
2 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/evas/engines/buffer/Evas_Engine_Buffer.h b/src/modules/evas/engines/buffer/Evas_Engine_Buffer.h
index a9cbbfbf45..0f23758079 100644
--- a/src/modules/evas/engines/buffer/Evas_Engine_Buffer.h
+++ b/src/modules/evas/engines/buffer/Evas_Engine_Buffer.h
@@ -18,14 +18,14 @@ struct _Evas_Engine_Info_Buffer
18 struct { 18 struct {
19 int depth_type; 19 int depth_type;
20 20
21 void *dest_buffer; 21 void *dest_buffer;
22 int dest_buffer_row_bytes; 22 int dest_buffer_row_bytes;
23 23
24 char use_color_key : 1; 24 Eina_Bool use_color_key : 1;
25 int alpha_threshold; 25 int alpha_threshold;
26 int color_key_r; 26 int color_key_r;
27 int color_key_g; 27 int color_key_g;
28 int color_key_b; 28 int color_key_b;
29 struct { 29 struct {
30 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 30 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
31 void (*free_update_region) (int x, int y, int w, int h, void *data); 31 void (*free_update_region) (int x, int y, int w, int h, void *data);
diff --git a/src/modules/evas/engines/buffer/evas_engine.h b/src/modules/evas/engines/buffer/evas_engine.h
index bd09d285c3..6ced36fe1c 100644
--- a/src/modules/evas/engines/buffer/evas_engine.h
+++ b/src/modules/evas/engines/buffer/evas_engine.h
@@ -44,8 +44,8 @@ struct _Outbuf
44 44
45 int alpha_level; 45 int alpha_level;
46 DATA32 color_key; 46 DATA32 color_key;
47 char use_color_key : 1; 47 Eina_Bool use_color_key : 1;
48 char first_frame : 1; 48 Eina_Bool first_frame : 1;
49 49
50 struct { 50 struct {
51 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 51 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);