Changeset 512 for abuse/trunk/src/transp.cpp
- Timestamp:
- Apr 20, 2011, 12:39:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/transp.cpp
r494 r512 11 11 #include "config.h" 12 12 13 #include "common.h" 14 13 15 #include "transp.h" 14 16 … … 17 19 short cx1,cy1,cx2,cy2; 18 20 screen->get_clip(cx1,cy1,cx2,cy2); 19 int xs=0,ys=0,xl=im-> width(),yl=im->height();21 int xs=0,ys=0,xl=im->Size().x,yl=im->Size().y; 20 22 if (x<cx1) 21 23 { … … 45 47 uint8_t *isl=im->scan_line(ys)+xs; 46 48 uint8_t *ssl=screen->scan_line(y)+x; 47 int iw=im-> width(),sw=screen->width();49 int iw=im->Size().x,sw=screen->Size().x; 48 50 49 51 for (int iy=ys; iy<ye; iy++,y++,isl+=iw,ssl+=sw)
Note: See TracChangeset
for help on using the changeset viewer.