evas gl common - make render op explicitly signed as we set it to -1
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sun, 12 Feb 2017 06:48:51 +0000 (15:48 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sun, 12 Feb 2017 06:48:51 +0000 (15:48 +0900)
this just is cleaner and now also matches types for render_op in gl
common context.

src/modules/evas/engines/gl_common/evas_gl_common.h

index 67d10cd..5a10fd5 100644 (file)
@@ -263,7 +263,7 @@ 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;
+         signed char     render_op;
          Eina_Bool       smooth     : 2;
          Eina_Bool       blend      : 2;
          Eina_Bool       clip       : 2;
@@ -295,7 +295,7 @@ struct _Evas_Engine_GL_Context
          GLuint           cur_tex, cur_texu, cur_texv, cur_texa, cur_texm;
          int              tex_target;
          int              cx, cy, cw, ch;
-         char             render_op;
+         signed char      render_op;
          Eina_Bool        smooth      : 2;
          Eina_Bool        blend       : 2;
          Eina_Bool        mask_smooth : 2;