Ignore:
Timestamp:
May 15, 2011, 6:22:13 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: move generic code back into the platform-agnostic imlib.

File:
1 edited

Legend:

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

    r645 r656  
    123123    int32_t mx,my;
    124124    the_game->game_to_mouse(player_list->pointer_x,player_list->pointer_y,player_list,mx,my);
    125     wm->set_mouse_position(small_render ? mx*2 : mx, small_render ? my*2 : my);
     125    wm->SetMousePos((small_render ? 2 : 1) * vec2i(mx, my));
    126126      }
    127127      else
Note: See TracChangeset for help on using the changeset viewer.