Ignore:
Timestamp:
Apr 20, 2011, 8:32:26 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: some more vec2i transition for simplicity.

File:
1 edited

Legend:

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

    r512 r513  
    3939  CHECK(Visual && Screen);
    4040  x=X; y=Y; visual=Visual; screen=Screen;
    41   save=new image(visual->Size().x,visual->Size().y);
     41  save = new image(visual->Size());
    4242  get_background();
    43 } ;
     43}
    4444
    4545sprite::~sprite()
     
    6464    delete visual;
    6565  visual=Visual;
    66   if (save->Size().x!=Visual->Size().x || save->Size().y!=Visual->Size().y)
     66  if (save->Size() != Visual->Size())
    6767  {
    6868    delete save;
    69     save=new image(visual->Size().x,visual->Size().y);
     69    save = new image(visual->Size());
    7070  }
    7171  get_background();
Note: See TracChangeset for help on using the changeset viewer.