comparison src/X_supp.c @ 528:d687d3395264 Android_Skia

Clear variables and draw root coord. Although root coord is never in zeroing list, now, it still need to be redrawed after redrawing other zeroed coords.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 23 Dec 2009 10:33:51 +0800
parents e98ae1407ca2
children 0160cdabaa51
comparison
equal deleted inserted replaced
527:47a860beaa44 528:d687d3395264
544 rt = O_ALLOC(X_MB_runtime_t); 544 rt = O_ALLOC(X_MB_runtime_t);
545 if(rt == NULL) 545 if(rt == NULL)
546 return NULL; 546 return NULL;
547 547
548 r = X_MB_init(display_name, w, h, rt); 548 r = X_MB_init(display_name, w, h, rt);
549 if(r != OK) 549 if(r != OK) {
550 free(rt);
550 return NULL; 551 return NULL;
552 }
551 553
552 return rt; 554 return rt;
553 } 555 }
554 556
555 void X_MB_free(void *rt) { 557 void X_MB_free(void *rt) {