Original Post
Hello, I am using SDL/OpenGL. There seems to be a subtle delay in the mouse movement. I was thinking it could just be the FPS is lower than the update speed of the mouse, but it is running at 300fps so I don't think that is it.
SDL_Event event; while ( SDL_PollEvent (&event) ) { switch (event.type) { case SDL_MOUSEMOTION: int mx, my; SDL_GetRelativeMouseState(&mx, &my); cursor.location += IDVector2(mx,my); //add the delta (velocity) break; } } Any ideas?