forked from enlightenment/efl
evas: Reset state to GL_TEXTURE_2D
This should fix an ERR message under gl_drm and probably an
actual bug.
This reverts 8f2cfdf490
.
I don't think the texture target should be part of the context
information. It should instead be a property of the texture.
Fixes T5171
This commit is contained in:
parent
b0ecb1fc90
commit
02bff22d8f
|
@ -1585,7 +1585,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 = -1;
|
||||
gc->state.current.tex_target = GL_TEXTURE_2D;
|
||||
gc->state.current.render_op = -1;
|
||||
gc->state.current.smooth = -1;
|
||||
gc->state.current.blend = -1;
|
||||
|
|
Loading…
Reference in New Issue