SDL Mouse movement, lagging
Moderator: Coders of Rage
- lalacomun
- VS Setup Wizard
- Posts: 114
- Joined: Wed Dec 28, 2011 10:18 pm
- Favorite Gaming Platforms: psx, nintendo ds, gameboy advance, xbox 360, ps2
- Programming Language of Choice: C++
- Location: Argentina
- Contact:
SDL Mouse movement, lagging
So as the title sais, when i use timers, to regulate my FPS on my game, as soon as i start moving my mouse, aver the aplication, it starts lagging, i tired to disable the Threded optimization on the Nvidia control panel, but still nothing, any suggestions???
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: SDL Mouse movement, lagging
I actually remember having this exact issue quite a while back when developing in SDL. Never did come up with good solution, but I would imagine if you threaded your event handling separately from your rendering it would solve the problem.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!