the address returned by draw_begin can be NULL

SVN revision: 34373
This commit is contained in:
doursse 2008-04-26 12:32:29 +00:00 committed by doursse
parent 8cd76f1a35
commit a6a3a2a9db
1 changed files with 2 additions and 0 deletions

View File

@ -263,6 +263,8 @@ evas_software_wince_gapi_output_buffer_paste(FB_Output_Buffer *fbob)
priv = (Evas_Engine_WinCE_GAPI_Priv *)fbob->priv;
buffer = priv->draw_begin();
if (!buffer)
return;
if ((fbob->im->cache_entry.w == priv->width) &&
(fbob->im->cache_entry.h == priv->height))