evas/gl - don't crushed up when failed to allocate surface.

SVN revision: 75748
This commit is contained in:
ChunEon Park 2012-08-28 05:59:27 +00:00
parent 83f7a57d50
commit 7322487bd2
1 changed files with 5 additions and 3 deletions

View File

@ -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);