Ignore:
Timestamp:
Apr 22, 2011, 4:13:04 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: some cleaning up in trans_image before I templatise half of it.

File:
1 edited

Legend:

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

    r513 r527  
    3333    case SPEC_FORETILE :
    3434    {
    35       return cache.foret(foretiles[0])->im->width()/scale;
     35      return cache.foret(foretiles[0])->im->Size().x/scale;
    3636    } break;
    3737    case SPEC_BACKTILE :
     
    5050    case SPEC_FORETILE :
    5151    {
    52       return cache.foret(foretiles[0])->im->height()/scale;
     52      return cache.foret(foretiles[0])->im->Size().y/scale;
    5353    } break;
    5454    case SPEC_BACKTILE :
Note: See TracChangeset for help on using the changeset viewer.