evas/gl_common: Do not set minus value to unsigned int

Summary:
cur_tex* are unsigned int, so minus value should not be set.
Also, add cur_texa, cur_texm here.

Test Plan: Local tests

Reviewers: jpeg

Subscribers: mer.kim, wonsik, cedric

Differential Revision: https://phab.enlightenment.org/D3036
This commit is contained in:
Dongyeon Kim 2015-09-08 17:41:15 +09:00 committed by Jean-Philippe Andre
parent 7f7ac6b852
commit 1b049b6fba
1 changed files with 5 additions and 3 deletions

View File

@ -1227,9 +1227,11 @@ evas_gl_common_context_target_surface_set(Evas_Engine_GL_Context *gc,
gc->state.current.id = SHADER_LAST;
gc->state.current.cur_prog = PRG_INVALID;
gc->state.current.cur_tex = -1;
gc->state.current.cur_texu = -1;
gc->state.current.cur_texv = -1;
gc->state.current.cur_tex = 0;
gc->state.current.cur_texu = 0;
gc->state.current.cur_texv = 0;
gc->state.current.cur_texa = 0;
gc->state.current.cur_texm = 0;
gc->state.current.render_op = -1;
gc->state.current.smooth = -1;
gc->state.current.blend = -1;