Hi (sorry for the really long title ;))
Ok so I got a problem which is really strange with my program using SDL.
The test I’ve done so far on a really little beginning of my application
show that I got no problem on ATI systems. But when I test it under Nvidia
graphics system, I got a really awful and strange bug. The mouse is totally
erratic and not smooth at all. The weird thing is that as I check, the fps
is of at least 200Fps. And for the mouse which I handle myself (not using
the SDL routines) so I hide the SDL standard cursor, and put instead a
sprite at the mouse position.
The way I manage it, is that at the end of each render, I blit the mouse
sprite on my buffer, before to update the screen at the mouse position.
I’ve try two things to made more tests, first a fps limiter, I only draw a
frame every 1/100 seconds (this change nothings ATI still working and not
Nvidia) then I try a little thing which is to use SWSURFACE on SDL_Init
instead of HWSURFACE. And then the mouse is totally smooth on ATI and
Nvidia. But the FPS is awfully reduced.
So I would like to know if someone know something about this problem,
because it is giving me really big troubles if Nvidia did not work
correctly. Could it be a Nvidia driver’s bug ?
I hope someone will be able to give me some help
Thanks.
Wedge
PS: I hope I did not make too much mistakes , I’m French