forked from enlightenment/efl
evas - gl engine - pipe renderer - disabling of unused arrays for lines
@fix - this fixes disabling of unused texa and texsam arays when line drawing - spotted in code review and bug hunting of another bug.
This commit is contained in:
parent
2ca0756ad6
commit
e54af4291f
|
@ -3277,6 +3277,10 @@ shader_array_flush(Evas_Engine_GL_Context *gc)
|
||||||
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
||||||
glDisableVertexAttribArray(SHAD_TEXUV3);
|
glDisableVertexAttribArray(SHAD_TEXUV3);
|
||||||
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
||||||
|
glDisableVertexAttribArray(SHAD_TEXA);
|
||||||
|
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
||||||
|
glDisableVertexAttribArray(SHAD_TEXSAM);
|
||||||
|
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
||||||
glDisableVertexAttribArray(SHAD_TEXM);
|
glDisableVertexAttribArray(SHAD_TEXM);
|
||||||
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
||||||
glDrawArrays(GL_LINES, 0, gc->pipe[i].array.num);
|
glDrawArrays(GL_LINES, 0, gc->pipe[i].array.num);
|
||||||
|
|
Loading…
Reference in New Issue