Changeset 665 for abuse/trunk/src/imlib/supmorph.cpp
- Timestamp:
- May 15, 2011, 5:32:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/supmorph.cpp
r579 r665 262 262 int blur_threshold) 263 263 { 264 if (f_left) 265 { 264 if (!f_left) 265 return 0; 266 266 267 int i,px,py,ix,iy; 267 int x1, y1, x2, y2;268 screen->GetClip( x1, y1, x2, y2);268 vec2i caa, cbb; 269 screen->GetClip(caa, cbb); 269 270 screen->AddDirty(x, y, x + w, y + h); 270 271 stepper *ss; … … 277 278 px=ix+x; 278 279 py=iy+y; 279 if (px>= x1 && px < x2 && py>=y1 && py < y2)280 if (px>=caa.x && px < cbb.x && py>=caa.y && py < cbb.y) 280 281 { 281 282 hole[ix+iy*w]=*(screen->scan_line(py)+px)=fil->Lookup(ss->r>>(19), … … 298 299 for (ix=1; ix<w-1; ix++,ll++,tl++,nl++) 299 300 { 300 if (x+ix>= x1 && x+ix < x2 && y+iy>=y1 && y+iy < y2)301 if (x+ix>=caa.x && x+ix < cbb.x && y+iy>=caa.y && y+iy < cbb.y) 301 302 { 302 303 int t=0; … … 335 336 } 336 337 return 1; 337 } else return 0;338 338 } 339 339
Note: See TracChangeset
for help on using the changeset viewer.