Ignore:
Timestamp:
May 16, 2011, 2:37:27 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: started refactoring the dirty rectangle system.

File:
1 edited

Legend:

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

    r668 r670  
    371371  int32_t xstep=(im->Size().x<<16)/new_width,
    372372       ystep=(im->Size().y<<16)/new_height,iy,ix,sx,ix_start,iy_start;
    373   screen->AddDirty(x, y, x + new_width, y + new_height);
     373  screen->AddDirty(vec2i(x, y), vec2i(x + new_width, y + new_height));
    374374
    375375  vec2i caa, cbb;
     
    412412  int32_t xstep=(im->Size().x<<16)/new_width,
    413413       ystep=(im->Size().y<<16)/new_height,iy,ix,sx,ix_start,iy_start;
    414   screen->AddDirty(x, y, x + new_width, y + new_height);
     414  screen->AddDirty(vec2i(x, y), vec2i(x + new_width, y + new_height));
    415415
    416416  vec2i caa, cbb;
Note: See TracChangeset for help on using the changeset viewer.