From 876c407977e66c2b5a147088269a742f7f872419 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 8 Feb 2017 22:57:28 +0900 Subject: [PATCH] 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. --- src/modules/evas/engines/gl_common/evas_gl_common.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.7.4