Changeset 50100 in vbox for trunk/src/VBox/GuestHost/OpenGL/util
- Timestamp:
- Jan 17, 2014 6:32:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/hash.c
r49216 r50100 218 218 219 219 if (f->min > first) 220 f->min = first; /* first is guarant ied not to touch any prev regions */220 f->min = first; /* first is guaranteed not to touch any prev regions */ 221 221 222 222 newMax = last; … … 353 353 if (prev) 354 354 { 355 Assert(prev->max < (f->min - 1)); 356 walkFunc(prev->max+1, f->min - 1, data); 355 Assert(prev->max < f->min); 356 walkFunc(prev->max+1, f->min - prev->max, data); 357 } 358 else if (f->min > pool->min) 359 { 360 walkFunc(pool->min, f->min - pool->min, data); 357 361 } 358 362 … … 364 368 if (prev->max < pool->max) 365 369 { 366 walkFunc(prev->max+1, pool->max , data);370 walkFunc(prev->max+1, pool->max - prev->max, data); 367 371 } 368 372 }
Note:
See TracChangeset
for help on using the changeset viewer.