Ignore:
Timestamp:
May 15, 2011, 5:31:42 PM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor image::PutPart? and image::PutPartMasked?, get rid of
unused methods image::PutPartXrev? and image::fill_image.

File:
1 edited

Legend:

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

    r650 r661  
    3030void sprite::get_background()
    3131{ if (x+visual->Size().x>=0 && y+visual->Size().y>=0 && x<=xres && y<=yres)
    32    save->PutPart(screen,0,0,x,y,x+save->Size().x-1,y+save->Size().y-1); }
     32   save->PutPart(screen,vec2i(0,0), vec2i(x,y), vec2i(x+save->Size().x-1,y+save->Size().y-1)); }
    3333
    3434void sprite::draw()
Note: See TracChangeset for help on using the changeset viewer.