Ignore:
Timestamp:
May 14, 2011, 3:06:23 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make some Image methods use vec2i.

File:
1 edited

Legend:

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

    r644 r650  
    236236    Jwindow *preview=wm->new_window(l_win->x+l_win->l+5,l_win->y,max_w,max_h,NULL,title);
    237237
    238     preview->m_surf->PutImage(first, preview->x1(), preview->y1());
     238    preview->m_surf->PutImage(first, vec2i(preview->x1(), preview->y1()));
    239239
    240240    Event ev;
     
    252252            int draw_num=ev.message.id-ID_LOAD_GAME_PREVIEW;
    253253            preview->clear();
    254             preview->m_surf->PutImage(thumbnails[draw_num], preview->x1(), preview->y1());
     254            preview->m_surf->PutImage(thumbnails[draw_num], vec2i(preview->x1(), preview->y1()));
    255255        }
    256256
Note: See TracChangeset for help on using the changeset viewer.