Changeset 2811


Ignore:
Timestamp:
Jul 23, 2013, 5:56:06 PM (4 years ago)
Author:
benlitz
Message:

build fix on non-SDL platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/sdl/sdlinput.cpp

    r2810 r2811  
    560560}
    561561
     562// NOTE: these two functions are pointless now and could be inlined directly
    562563ivec2 SdlInputData::GetMousePos()
    563564{
     
    578579void SdlInputData::SetMousePos(ivec2 position)
    579580{
     581#if USE_SDL
    580582    SDL_WarpMouse((uint16_t)position.x, (uint16_t)position.y);
     583#endif
    581584}
    582585
Note: See TracChangeset for help on using the changeset viewer.