01-22-2021, 04:26 PM
I tried mouse polling rate of 500Hz instead of 1000Hz, same issue. I will try again, with lower settings.
It will also try to run wings w vsync off, to see if that helps.
To really fix this problem, it would help if wings or wx could batch process a whole bunch of movements before continuing redrawing the ui.
In psuedo code:
In my own code, c and c++, I used sdl2 for io and the standard approach is to process all events until there are no more, and then update/draw a single frame.
It will also try to run wings w vsync off, to see if that helps.
To really fix this problem, it would help if wings or wx could batch process a whole bunch of movements before continuing redrawing the ui.
In psuedo code:
Code:
While ( mouse move available )
Read event
Update mousepos
Update viewport
Draw viewport
In my own code, c and c++, I used sdl2 for io and the standard approach is to process all events until there are no more, and then update/draw a single frame.