Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 14, 2009, 2:19:57 PM (15 years ago)
Author:
rgrieder
Message:

Linux and GCC build fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/input/Mouse.cc

    r3291 r3293  
    9393
    9494#ifdef ORXONOX_PLATFORM_LINUX
    95     void Mouse::grabMouse()
     95    void Mouse::grab()
    9696    {
    97         OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>(instancePointer_s->oisDevice_);
     97        OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>(oisDevice_);
    9898        assert(linuxMouse);
    9999        linuxMouse->grab(true);
    100100    }
    101101
    102     void Mouse::ungrabMouse()
     102    void Mouse::ungrab()
    103103    {
    104         OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>(instancePointer_s->oisDevice_);
     104        OIS::LinuxMouse* linuxMouse = dynamic_cast<OIS::LinuxMouse*>(oisDevice_);
    105105        assert(linuxMouse);
    106106        linuxMouse->grab(false);
Note: See TracChangeset for help on using the changeset viewer.