From e54af4291f5d481b77cb42519f1a5981bb7f9bb9 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 10 Feb 2015 02:28:36 +0900 Subject: [PATCH] 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. --- src/modules/evas/engines/gl_common/evas_gl_context.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c b/src/modules/evas/engines/gl_common/evas_gl_context.c index 4584e504db..4a06a5609a 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -3277,6 +3277,10 @@ shader_array_flush(Evas_Engine_GL_Context *gc) GLERR(__FUNCTION__, __FILE__, __LINE__, ""); glDisableVertexAttribArray(SHAD_TEXUV3); GLERR(__FUNCTION__, __FILE__, __LINE__, ""); + glDisableVertexAttribArray(SHAD_TEXA); + GLERR(__FUNCTION__, __FILE__, __LINE__, ""); + glDisableVertexAttribArray(SHAD_TEXSAM); + GLERR(__FUNCTION__, __FILE__, __LINE__, ""); glDisableVertexAttribArray(SHAD_TEXM); GLERR(__FUNCTION__, __FILE__, __LINE__, ""); glDrawArrays(GL_LINES, 0, gc->pipe[i].array.num);