forked from enlightenment/efl
Try to create the Outbuf during initial engine setup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
248c2f8233
commit
021e76aa25
|
@ -56,6 +56,12 @@ _output_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool
|
|||
if (re->ob) evas_outbuf_free(re->ob);
|
||||
|
||||
/* try to create new outbuf */
|
||||
if (!(re->ob = evas_outbuf_setup(w, h, rotation, depth, alpha)))
|
||||
{
|
||||
if (re->tb) evas_common_tilebuf_free(re->tb);
|
||||
free(re);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* return the allocated render_engine structure */
|
||||
|
|
Loading…
Reference in New Issue