Changeset 18b6a88 in mainline for uspace/lib/softrend/filter.c


Ignore:
Timestamp:
2018-04-15T09:35:04Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1f44ca
Parents:
8ebe212
Message:

More ccheck fixes, sometimes with manual intervention.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/softrend/filter.c

    r8ebe212 r18b6a88  
    106106        float weights[4];
    107107        weights[0] = (1 - x_delta) * (1 - y_delta);
    108         weights[1] = (    x_delta) * (1 - y_delta);
    109         weights[2] = (1 - x_delta) * (    y_delta);
    110         weights[3] = (    x_delta) * (    y_delta);
     108        weights[1] = x_delta      * (1 - y_delta);
     109        weights[2] = (1 - x_delta) * y_delta;
     110        weights[3] = x_delta       * y_delta;
    111111
    112112        return blend_pixels(4, weights, pixels);
Note: See TracChangeset for help on using the changeset viewer.