Changeset 17 for abuse/trunk/src/imlib/filter.cpp
- Timestamp:
- Nov 10, 2005, 9:41:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/filter.cpp
r2 r17 172 172 { 173 173 fp->seek(e->offset,0); 174 fp->read_ short();174 fp->read_uint16(); 175 175 int colors=32; 176 176 color_table=(unsigned char *)jmalloc(colors*colors*colors,"color_filter : loaded"); … … 187 187 { 188 188 int colors=32; 189 fp->write_ short(colors);189 fp->write_uint16(colors); 190 190 return fp->write(color_table,colors*colors*colors)==colors*colors*colors; 191 191 } … … 220 220 screen->add_dirty(x,y,x+xl-1,y+yl-1); 221 221 222 u char*pg1=screen->scan_line(y),*source,*dest;223 u char*pg2=im->scan_line(y1);222 uint8_t *pg1=screen->scan_line(y),*source,*dest; 223 uint8_t *pg2=im->scan_line(y1); 224 224 int i; 225 225 for (int j=0;j<yl;j++)
Note: See TracChangeset
for help on using the changeset viewer.