this is an IMPROVEMENT of null checking (so no backport). thanks

shungo kwak. :)



SVN revision: 76099
This commit is contained in:
Carsten Haitzler 2012-09-04 02:40:12 +00:00
parent 7f9ec8f928
commit 853c851dd0
1 changed files with 5 additions and 2 deletions

View File

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