Ignore:
Timestamp:
May 15, 2011, 5:32:56 PM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor GetClip?, SetClip? etc. to use vec2i.

File:
1 edited

Legend:

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

    r659 r665  
    5858    con_win=wm->new_window(lastx,lasty,screen_w(),screen_h(),NULL,name);
    5959    redraw();
    60     con_win->m_surf->SetClip(con_win->x1(),con_win->y1(),con_win->x2()+1,con_win->y2()+1);
     60    con_win->m_surf->SetClip(vec2i(con_win->x1(), con_win->y1()),
     61                             vec2i(con_win->x2() + 1, con_win->y2() + 1));
    6162  }
    6263}
Note: See TracChangeset for help on using the changeset viewer.