evas/gl_common: Reset current texture target with proper value when creating engine gl context.

Summary:
set current target with default value of GL_TEXTURE_2D.
target should be valid value.

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: wonsik, cedric, spacegrapher

Differential Revision: https://phab.enlightenment.org/D3423
This commit is contained in:
Minkyoung Kim 2015-12-10 16:40:15 +09:00 committed by Jean-Philippe Andre
parent 01a32f64c0
commit fa422dd3d1
1 changed files with 2 additions and 0 deletions

View File

@ -691,6 +691,8 @@ evas_gl_common_context_new(void)
}
}
gc->state.current.tex_target = GL_TEXTURE_2D;
if (!shared)
{
const char *ext;