raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e54af4291f5d481b77cb42519f1a5981bb7f9bb9

commit e54af4291f5d481b77cb42519f1a5981bb7f9bb9
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Feb 10 02:28:36 2015 +0900

    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 4584e50..4a06a56 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);

-- 


Reply via email to