Ignore:
Timestamp:
Apr 21, 2011, 9:03:06 PM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: remove unused image::make_color and timage::make_color. They were
probably used for debugging purposes, but we can still revive them when
we need them.

File:
1 edited

Legend:

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

    r519 r521  
    14471447}
    14481448
    1449 void image::make_color(uint8_t color)
    1450 {
    1451   uint8_t *sl;
    1452   int y, x;
    1453   Lock();
    1454   for (y=0; y<m_size.y; y++)
    1455   {
    1456     sl=scan_line(y);
    1457     for (x=m_size.x; x; x--, sl++)
    1458       if (*sl)
    1459         *sl=color;
    1460   }
    1461   Unlock();
    1462 }
Note: See TracChangeset for help on using the changeset viewer.