From: Carsten Haitzler (Rasterman) Date: Wed, 8 Feb 2017 13:57:28 +0000 (+0900) Subject: evas gl commonnon - context - expand fields to 2 bits for invalid vals X-Git-Tag: upstream/1.20.0~2113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=876c407977e66c2b5a147088269a742f7f872419;p=platform%2Fupstream%2Fefl.git evas gl commonnon - context - expand fields to 2 bits for invalid vals we use invalid values (-1 or 0xff or 0x3 etc. invalid vals to know to reset some state). expand fields out in size a little bit to allow that to work again. --- diff --git a/src/modules/evas/engines/gl_common/evas_gl_common.h b/src/modules/evas/engines/gl_common/evas_gl_common.h index 00945a0..dc8ccd6 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_common.h +++ b/src/modules/evas/engines/gl_common/evas_gl_common.h @@ -295,11 +295,11 @@ struct _Evas_Engine_GL_Context GLuint cur_tex, cur_texu, cur_texv, cur_texa, cur_texm; int tex_target; int cx, cy, cw, ch; - unsigned char render_op; - Eina_Bool smooth : 1; - Eina_Bool blend : 1; - Eina_Bool mask_smooth : 1; - Eina_Bool clip : 1; + char render_op; + Eina_Bool smooth : 2; + Eina_Bool blend : 2; + Eina_Bool mask_smooth : 2; + Eina_Bool clip : 2; } shader; struct { int num, alloc;