forked from enlightenment/efl
Evas gl_x11: Do not premultiply pixels after reading FBO
The pixels are already premultiplied in such an FBO. (cherry picked from commit 2b3e065ffeb9b587ca35909940beb59b25081e7f)
This commit is contained in:
parent
1a9b58f083
commit
8672f3176e
|
@ -3457,8 +3457,6 @@ eng_gl_surface_read_pixels(void *data, void *surface,
|
||||||
}
|
}
|
||||||
glsym_glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
glsym_glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||||
|
|
||||||
evas_common_convert_argb_premul(pixels, w * h);
|
|
||||||
|
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
//--------------------------------//
|
//--------------------------------//
|
||||||
|
|
Loading…
Reference in New Issue