diff --git a/panda/src/putil/mouseData.I b/panda/src/putil/mouseData.I index c162dcbebf..51e9ac2efc 100644 --- a/panda/src/putil/mouseData.I +++ b/panda/src/putil/mouseData.I @@ -25,8 +25,8 @@ INLINE MouseData:: MouseData() { _in_window = false; - _xpos = 0.0; - _ypos = 0.0; + _xpos = 0; + _ypos = 0; } //////////////////////////////////////////////////////////////////// diff --git a/panda/src/putil/mouseData.h b/panda/src/putil/mouseData.h index abb398acf7..996be20e43 100644 --- a/panda/src/putil/mouseData.h +++ b/panda/src/putil/mouseData.h @@ -43,8 +43,8 @@ PUBLISHED: public: bool _in_window; - double _xpos; - double _ypos; + int _xpos; + int _ypos; }; INLINE ostream &operator << (ostream &out, const MouseData &md);