From a7b7a9236fd1f28a617a410e8e07d1ec64d741c4 Mon Sep 17 00:00:00 2001 From: "Wonsik, Jung" Date: Fri, 17 Jun 2016 09:26:28 +0900 Subject: [PATCH] [Evas GL Common] remove commented code. Remove commmented code in evas_gl_context.c Consider that for EFL version upgrade. Change-Id: Id748a77d8a3e19fcd938ae329690caba9f3ca5aa --- src/modules/evas/engines/gl_common/evas_gl_context.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 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 f9e0bcf..03255e6 100755 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -633,15 +633,9 @@ _evas_gl_common_viewport_set(Evas_Engine_GL_Context *gc, int force_update) prog->reset = EINA_TRUE; eina_iterator_free(it); + // TIZEN_ONLY. remove the commented code for code cleanup. + // TizenSE recommend that if (gc->state.current.prog != PRG_INVALID) - /* - { - glUseProgram(gc->shared->shader[0].prog); - glUniformMatrix4fv(glGetUniformLocation(gc->shared->shader[0].prog, "mvp"), 1, GL_FALSE, gc->shared->proj); - gc->shared->shader[0].reset = EINA_FALSE; - } - else - */ { glUseProgram(gc->state.current.prog->prog); glUniformMatrix4fv(glGetUniformLocation(gc->state.current.prog->prog, "mvp"), 1, GL_FALSE, gc->shared->proj); -- 2.7.4