Hello every one !!! (And great thanks to people that took time to respond
to my last message,…)
I’ve got an Nvidia GeForce 2 MX 400, correctly configured on my RedHat8
distro … Last time
I tried on of my 2D game using SDL_SWSURFACE, and then SDL_HWSURFACE ,I got
the same performance (exactly !!)
Then I decided to look further at what does SDL_GetVideoInfo() returns ,I
found (and I was very supprised) that no kind of
hardware acceleration was available (remember I got an Nvidia GeForce2)
!!!(I called GetVideoInfo before SetVideoMode()
Further ,before I downloaded my video card drivers,3D games such as TuxRacer
were running very slow,but after configuring my 3D card ,TuxRacer becomes
running fast ,…so I deduced that my config was ok !!!
Do I need to reinstall SDL (after installing the good drivers) to take
adventage of my 3D card ?
Is it better to switch SDL_HWSURFACE(and SDL_DOUBLEBUF) even if I’m using
only 2D graphics ??
Should I recheck my config ,to reinstall the drivers???
PS: Is it fatser to call SDL_UpdateRects on an array of SDL_Rects then to
call SDL_UpdateRect() on each of them ?
------- Thanks in advence -------