forked from enlightenment/efl
Evas: Use proper variable (gc->shared is set later on)
SVN revision: 75022
This commit is contained in:
parent
7fa09b763b
commit
60800876c3
|
@ -718,7 +718,7 @@ evas_gl_common_context_new(void)
|
||||||
SHADER_TEXTURE_ADD(shared, IMG_MASK, texm);
|
SHADER_TEXTURE_ADD(shared, IMG_MASK, texm);
|
||||||
|
|
||||||
if (gc->state.current.cur_prog == PRG_INVALID)
|
if (gc->state.current.cur_prog == PRG_INVALID)
|
||||||
glUseProgram(gc->shared->shader[0].prog);
|
glUseProgram(shared->shader[0].prog);
|
||||||
else glUseProgram(gc->state.current.cur_prog);
|
else glUseProgram(gc->state.current.cur_prog);
|
||||||
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue