summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-02-10 02:28:36 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-02-10 02:30:10 +0900
commite54af4291f5d481b77cb42519f1a5981bb7f9bb9 (patch)
tree992bf77346eea8474738e76d447ce06855917070
parent2ca0756ad614f52c7c87c6aaccbb8becfd1c26d6 (diff)
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.
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_context.c4
1 files changed, 4 insertions, 0 deletions
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)
3277 GLERR(__FUNCTION__, __FILE__, __LINE__, ""); 3277 GLERR(__FUNCTION__, __FILE__, __LINE__, "");
3278 glDisableVertexAttribArray(SHAD_TEXUV3); 3278 glDisableVertexAttribArray(SHAD_TEXUV3);
3279 GLERR(__FUNCTION__, __FILE__, __LINE__, ""); 3279 GLERR(__FUNCTION__, __FILE__, __LINE__, "");
3280 glDisableVertexAttribArray(SHAD_TEXA);
3281 GLERR(__FUNCTION__, __FILE__, __LINE__, "");
3282 glDisableVertexAttribArray(SHAD_TEXSAM);
3283 GLERR(__FUNCTION__, __FILE__, __LINE__, "");
3280 glDisableVertexAttribArray(SHAD_TEXM); 3284 glDisableVertexAttribArray(SHAD_TEXM);
3281 GLERR(__FUNCTION__, __FILE__, __LINE__, ""); 3285 GLERR(__FUNCTION__, __FILE__, __LINE__, "");
3282 glDrawArrays(GL_LINES, 0, gc->pipe[i].array.num); 3286 glDrawArrays(GL_LINES, 0, gc->pipe[i].array.num);