Changeset 631


Ignore:
Timestamp:
May 10, 2011, 8:31:50 PM (7 years ago)
Author:
Sam Hocevar
Message:

imlib: fix an assert logic error in the generic TransImage? blit method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/transimage.cpp

    r579 r631  
    169169        return; // if ClipToLine says nothing to draw, return
    170170
    171     CONDITION(N == BLEND && pos.y >= bpos.y
    172                          && pos.y + ysteps < bpos.y + blend->Size().y + 1,
     171    CONDITION(N != BLEND || (pos.y >= bpos.y
     172                              && pos.y + ysteps <= bpos.y + blend->Size().y),
    173173              "Blend doesn't fit on TransImage");
    174174
Note: See TracChangeset for help on using the changeset viewer.