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

imlib: refactor the Filter and ColorFilter? classes.

File:
1 edited

Legend:

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

    r555 r579  
    258258  for (l=0; l<AUTOTILE_WIDTH*AUTOTILE_HEIGHT; l++)
    259259    micro_image->PutPixel(vec2i(l % AUTOTILE_WIDTH, l / AUTOTILE_WIDTH),
    260        color_table->lookup_color((r[l]/(t[l]*4/5))>>3,
     260       color_table->Lookup((r[l]/(t[l]*4/5))>>3,
    261261                 (g[l]/(t[l]*4/5))>>3,
    262262                 (b[l]/(t[l]*4/5))>>3));
Note: See TracChangeset for help on using the changeset viewer.