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/clisp.cpp

    r497 r512  
    1212
    1313#include <string.h>
     14
     15#include "common.h"
    1416
    1517#include "sdlport/joy.h"
     
    21372139    case 268 :
    21382140    {
    2139       return cache.img(lnumber_value(CAR(args)))->width();
     2141      return cache.img(lnumber_value(CAR(args)))->Size().x;
    21402142    } break;
    21412143    case 269 :
    21422144    {
    2143       return cache.img(lnumber_value(CAR(args)))->height();
     2145      return cache.img(lnumber_value(CAR(args)))->Size().y;
    21442146    } break;
    21452147    case 270 :
Note: See TracChangeset for help on using the changeset viewer.