when resetting tex_target, set it to -1 so we force a reset

This commit is contained in:
Carsten Haitzler 2017-02-08 22:59:37 +09:00
parent 876c407977
commit 8f2cfdf490
1 changed files with 1 additions and 1 deletions

View File

@ -1587,7 +1587,7 @@ evas_gl_common_context_target_surface_set(Evas_Engine_GL_Context *gc,
gc->state.current.cur_texv = 0;
gc->state.current.cur_texa = 0;
gc->state.current.cur_texm = 0;
gc->state.current.tex_target = GL_TEXTURE_2D;
gc->state.current.tex_target = -1;
gc->state.current.render_op = -1;
gc->state.current.smooth = -1;
gc->state.current.blend = -1;