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.
This commit is contained in:
Carsten Haitzler 2017-02-08 22:57:28 +09:00
parent 95d93cb720
commit 876c407977
1 changed files with 5 additions and 5 deletions

View File

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