Evas GL common: Remove unused filter_prog

This commit is contained in:
Jean-Philippe Andre 2015-01-14 16:36:48 +09:00
parent 80fe4b1673
commit 323db06279
2 changed files with 1 additions and 8 deletions

View File

@ -495,9 +495,6 @@ struct _Evas_Engine_GL_Context
Evas_GL_Image *def_surface;
/* If this is set: Force drawing with a particular filter */
GLuint filter_prog;
#ifdef GL_GLES
// FIXME: hack. expose egl display to gl core for egl image sec extn.
void *egldisp;

View File

@ -1759,11 +1759,7 @@ evas_gl_common_context_image_push(Evas_Engine_GL_Context *gc,
if (!(gc->dc->render_op == EVAS_RENDER_COPY) &&
((a < 255) || (tex->alpha) || (!!mtex))) blend = EINA_TRUE;
if (gc->filter_prog)
{
prog = gc->filter_prog;
}
else if (tex_only)
if (tex_only)
{
if (tex->pt->dyn.img)
{