forked from enlightenment/efl
this is an IMPROVEMENT of null checking (so no backport). thanks
shungo kwak. :) SVN revision: 76099
This commit is contained in:
parent
7f9ec8f928
commit
853c851dd0
|
@ -655,8 +655,11 @@ EAPI const void *
|
|||
ecore_evas_buffer_pixels_get(Ecore_Evas *ee)
|
||||
{
|
||||
#ifdef BUILD_ECORE_EVAS_SOFTWARE_BUFFER
|
||||
if (!ee) return NULL;
|
||||
|
||||
if (!ee)
|
||||
{
|
||||
CRIT("Ecore_Evas is missing");
|
||||
return NULL;
|
||||
}
|
||||
_ecore_evas_buffer_render(ee);
|
||||
return ee->engine.buffer.pixels;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue