VirtualBox

Ignore:
Timestamp:
Jan 17, 2014 6:32:44 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/hash.c

    r49216 r50100  
    218218
    219219        if (f->min > first)
    220             f->min = first; /* first is guarantied not to touch any prev regions */
     220            f->min = first; /* first is guaranteed not to touch any prev regions */
    221221
    222222        newMax = last;
     
    353353        if (prev)
    354354        {
    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);
    357361        }
    358362
     
    364368    if (prev->max < pool->max)
    365369    {
    366         walkFunc(prev->max+1, pool->max, data);
     370        walkFunc(prev->max+1, pool->max - prev->max, data);
    367371    }
    368372}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette