forked from enlightenment/efl
Evas GL common: Remove unused filter_prog
This commit is contained in:
parent
80fe4b1673
commit
323db06279
|
@ -495,9 +495,6 @@ struct _Evas_Engine_GL_Context
|
||||||
|
|
||||||
Evas_GL_Image *def_surface;
|
Evas_GL_Image *def_surface;
|
||||||
|
|
||||||
/* If this is set: Force drawing with a particular filter */
|
|
||||||
GLuint filter_prog;
|
|
||||||
|
|
||||||
#ifdef GL_GLES
|
#ifdef GL_GLES
|
||||||
// FIXME: hack. expose egl display to gl core for egl image sec extn.
|
// FIXME: hack. expose egl display to gl core for egl image sec extn.
|
||||||
void *egldisp;
|
void *egldisp;
|
||||||
|
|
|
@ -1759,11 +1759,7 @@ evas_gl_common_context_image_push(Evas_Engine_GL_Context *gc,
|
||||||
if (!(gc->dc->render_op == EVAS_RENDER_COPY) &&
|
if (!(gc->dc->render_op == EVAS_RENDER_COPY) &&
|
||||||
((a < 255) || (tex->alpha) || (!!mtex))) blend = EINA_TRUE;
|
((a < 255) || (tex->alpha) || (!!mtex))) blend = EINA_TRUE;
|
||||||
|
|
||||||
if (gc->filter_prog)
|
if (tex_only)
|
||||||
{
|
|
||||||
prog = gc->filter_prog;
|
|
||||||
}
|
|
||||||
else if (tex_only)
|
|
||||||
{
|
{
|
||||||
if (tex->pt->dyn.img)
|
if (tex->pt->dyn.img)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue