evas/gl - don't crushed up when failed to allocate surface.
SVN revision: 75748
This commit is contained in:
parent
83f7a57d50
commit
7322487bd2
|
@ -2363,6 +2363,8 @@ _proxy_subrender(Evas *e, Evas_Object *source)
|
|||
source->proxy.h = h;
|
||||
}
|
||||
|
||||
if (!source->proxy.surface) return;
|
||||
|
||||
ctx = e->engine.func->context_new(e->engine.data.output);
|
||||
e->engine.func->context_color_set(e->engine.data.output, ctx, 0, 0, 0, 0);
|
||||
e->engine.func->context_render_op_set(e->engine.data.output, ctx, EVAS_RENDER_COPY);
|
||||
|
|
Loading…
Reference in New Issue