Awakening
Active Member
It the last blog update I noticed this line:
I also noticed that the SDL_SetVideoMode function have a SDL_HWSURFACE flag. I changed this in my game code for my screen surface and the program ran fine. Also did it with my SDL_CreateRGBSurface function (so far only used on one surface). So, I'm interested in knowing if this will increase the speed of my program and if I need to do anything else in my code to take advantage of hardware surfaces, for example do I need to somehow convert all my surfaces to SDL_HWSURFACE?
There is room for speed improvement in the future, SDL is not using hardware surfaces yet, but that will follow.
I also noticed that the SDL_SetVideoMode function have a SDL_HWSURFACE flag. I changed this in my game code for my screen surface and the program ran fine. Also did it with my SDL_CreateRGBSurface function (so far only used on one surface). So, I'm interested in knowing if this will increase the speed of my program and if I need to do anything else in my code to take advantage of hardware surfaces, for example do I need to somehow convert all my surfaces to SDL_HWSURFACE?