forked from enlightenment/efl
glview: pass render_op flag to the child surface
Without this, apps can't set a GLView to be in COPY mode. COPY mode allows the glview to "poke holes" in the backbuffer of the window, without the need for other objects below (eg. a transparent rectangle in COPY mode).
This commit is contained in:
parent
a8511b117d
commit
99122c0cd2
|
@ -114,6 +114,9 @@ static Eina_Bool
|
|||
_render_cb(void *obj)
|
||||
{
|
||||
ELM_GLVIEW_DATA_GET(obj, sd);
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
|
||||
|
||||
evas_object_render_op_set(wd->resize_obj, evas_object_render_op_get(obj));
|
||||
|
||||
// Do a make current
|
||||
if (!evas_gl_make_current(sd->evasgl, sd->surface, sd->context))
|
||||
|
|
Loading…
Reference in New Issue