SDL bug? or my problem?
Hi yall,
I'm making a 3D game and I'm using SDL. I noticed that moving the mouse without pressing any button slows down the frame rate, but if I move the mouse with any mouse button held down then the frame rate doesn't go down. I tracked this problem to a call to SDL_PumpEvents(). Is there anything I can do or should I not use SDL?
Thanx.
I think the "problem" can come from your event loop. There are different methods for such loops, but I can't find the link to the article I've read about it ^^''
Anyway, with win32 and DirectX, the same thing happens, so I guess it's perfectly normal.
Anyway, with win32 and DirectX, the same thing happens, so I guess it's perfectly normal.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement