Ignore:
Timestamp:
Apr 20, 2011, 12:39:27 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: use vec2i for image::size and unroll all necessary changes
everywhere else in the code.

File:
1 edited

Legend:

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

    r494 r512  
    1010
    1111#include "config.h"
     12
     13#include "common.h"
    1214
    1315#include "devsel.h"
     
    3537    case SPEC_BACKTILE :
    3638    {
    37       return cache.backt(backtiles[0])->im->width()/scale;
     39      return cache.backt(backtiles[0])->im->Size().x/scale;
    3840    } break;
    3941    default :
     
    5254    case SPEC_BACKTILE :
    5355    {
    54       return cache.backt(backtiles[0])->im->height()/scale;
     56      return cache.backt(backtiles[0])->im->Size().y/scale;
    5557    } break;
    5658    default :
Note: See TracChangeset for help on using the changeset viewer.