comparison src/redraw_man.c @ 75:23bc382d9683

find_geo_in_pos() should return shapes that is not hidden
author Thinker K.F. Li <thinker@branda.to>
date Mon, 18 Aug 2008 23:08:03 +0800
parents 9ab15ebc9061
children 5bcb329a5157
comparison
equal deleted inserted replaced
74:3e3e074120a7 75:23bc382d9683
130 elmpool_free(rdman->geo_pool); 130 elmpool_free(rdman->geo_pool);
131 elmpool_free(rdman->coord_pool); 131 elmpool_free(rdman->coord_pool);
132 return ERR; 132 return ERR;
133 } 133 }
134 134
135 rdman->observer_pool = elmpool_new(sizeof(observer_t), 16); 135 rdman->observer_pool = elmpool_new(sizeof(observer_t), 32);
136 if(rdman->observer_pool == NULL) { 136 if(rdman->observer_pool == NULL) {
137 elmpool_free(rdman->geo_pool); 137 elmpool_free(rdman->geo_pool);
138 elmpool_free(rdman->coord_pool); 138 elmpool_free(rdman->coord_pool);
139 elmpool_free(rdman->shnode_pool); 139 elmpool_free(rdman->shnode_pool);
140 return ERR; 140 return ERR;
141 } 141 }
142 142
143 rdman->subject_pool = elmpool_new(sizeof(subject_t), 16); 143 rdman->subject_pool = elmpool_new(sizeof(subject_t), 32);
144 if(rdman->subject_pool == NULL) { 144 if(rdman->subject_pool == NULL) {
145 elmpool_free(rdman->geo_pool); 145 elmpool_free(rdman->geo_pool);
146 elmpool_free(rdman->coord_pool); 146 elmpool_free(rdman->coord_pool);
147 elmpool_free(rdman->shnode_pool); 147 elmpool_free(rdman->shnode_pool);
148 elmpool_free(rdman->observer_pool); 148 elmpool_free(rdman->observer_pool);