forked from enlightenment/efl
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:
parent
01a32f64c0
commit
fa422dd3d1
|
@ -691,6 +691,8 @@ evas_gl_common_context_new(void)
|
|||
}
|
||||
}
|
||||
|
||||
gc->state.current.tex_target = GL_TEXTURE_2D;
|
||||
|
||||
if (!shared)
|
||||
{
|
||||
const char *ext;
|
||||
|
|
Loading…
Reference in New Issue