forked from enlightenment/efl
fix maps with alpha.. sorry about that!
SVN revision: 46235
This commit is contained in:
parent
c474d55267
commit
6de08e07fa
|
@ -504,8 +504,6 @@ evas_gl_common_context_rectangle_push(Evas_GL_Context *gc,
|
|||
if (a < 255) blend = 1;
|
||||
if (gc->dc->render_op == EVAS_RENDER_COPY) blend = 0;
|
||||
|
||||
gc->shader.blend = 1;
|
||||
|
||||
if ((gc->shader.cur_tex != 0)
|
||||
|| (gc->shader.cur_prog != gc->shared->shader.rect.prog)
|
||||
// || (gc->shader.blend != blend)
|
||||
|
|
|
@ -13,7 +13,7 @@ evas_gl_common_rect_draw(Evas_GL_Context *gc, int x, int y, int w, int h)
|
|||
c = gc->dc->clip.use; cx = gc->dc->clip.x; cy = gc->dc->clip.y; cw = gc->dc->clip.w; ch = gc->dc->clip.h;
|
||||
|
||||
ca = (gc->dc->col.col >> 24) & 0xff;
|
||||
if (ca <= 0) return;
|
||||
if ((gc->dc->render_op != EVAS_RENDER_COPY) && (ca <= 0)) return;
|
||||
cr = (gc->dc->col.col >> 16) & 0xff;
|
||||
cg = (gc->dc->col.col >> 8 ) & 0xff;
|
||||
cb = (gc->dc->col.col ) & 0xff;
|
||||
|
|
Loading…
Reference in New Issue