Ignore:
Timestamp:
May 5, 2011, 12:36:33 PM (8 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor the Filter and ColorFilter? classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/light.cpp

    r555 r579  
    198198    bs+=ba; if (bs>255) bs=255; else if (bs<0) bs=0;
    199199  }
    200   filter f(pal,&npal);
    201   filter f2(&npal,pal);
     200  Filter f(pal,&npal);
     201  Filter f2(&npal,pal);
    202202
    203203  for (i=0; i<256; i++,tint++)
    204     *tint=f2.get_mapping(f.get_mapping(i));
     204    *tint=f2.GetMapping(f.GetMapping(i));
    205205}
    206206
Note: See TracChangeset for help on using the changeset viewer.