diff --git a/components/sdlutil/sdlinputwrapper.cpp b/components/sdlutil/sdlinputwrapper.cpp index ca223ae3b8..57b211e97e 100644 --- a/components/sdlutil/sdlinputwrapper.cpp +++ b/components/sdlutil/sdlinputwrapper.cpp @@ -368,6 +368,7 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr v pack_evt.yrel = 0; pack_evt.z = mMouseZ; pack_evt.zrel = 0; + pack_evt.timestamp = 0; if(evt.type == SDL_MOUSEMOTION) {