Enlightenment CVS committal Author : doursse Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_16_wince Modified Files: evas_wince_gapi_buffer.c Log Message: the address returned by draw_begin can be NULL =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_16_wince/evas_wince_gapi_buffer.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- evas_wince_gapi_buffer.c 23 Apr 2008 19:17:59 -0000 1.1 +++ evas_wince_gapi_buffer.c 26 Apr 2008 12:32:29 -0000 1.2 @@ -263,6 +263,8 @@ 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)) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs