Try to create new tilebuffer in engine setup.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83242
This commit is contained in:
Christopher Michael 2013-01-24 09:16:22 +00:00 committed by Christopher Michael
parent f0a6c5ca26
commit fe75b1bf24
1 changed files with 7 additions and 0 deletions

View File

@ -67,6 +67,13 @@ _output_engine_setup(int w, int h, unsigned int rotation, unsigned int depth, Ei
if (!(re = calloc(1, sizeof(Render_Engine))))
return NULL;
/* try to create a new tilebuf first */
if (!(re->tb = evas_common_tilebuf_new(w, h)))
{
free(re);
return NULL;
}
/* return allocated render engine */
return re;
}