p0is0n
Still Fresh
Hi guys,
When i use:
m_screen = SDL_SetVideoMode(screenWidth, screenHeight, screenDepth, SDL_HWSURFACE | SDL_DOUBLEBUF);
and run my game the screen flickers, when i pass in SDL_SWSURFACE i dont get this problem. I did a search but couldnt find anything that fixed my problem (maybe i missed something :unsure: ) but am a bit stuck.
When i use SDL_HWSURFACE | SDL_DOUBLEBUF i get just over 400 fps, with the other i get just under 200 fps, so as you can guess i would rather fix the screen flicker than just use SDL_SWSURFACE instead.
Any help on this would be great!
Thanks in advance!!!
When i use:
m_screen = SDL_SetVideoMode(screenWidth, screenHeight, screenDepth, SDL_HWSURFACE | SDL_DOUBLEBUF);
and run my game the screen flickers, when i pass in SDL_SWSURFACE i dont get this problem. I did a search but couldnt find anything that fixed my problem (maybe i missed something :unsure: ) but am a bit stuck.
When i use SDL_HWSURFACE | SDL_DOUBLEBUF i get just over 400 fps, with the other i get just under 200 fps, so as you can guess i would rather fix the screen flicker than just use SDL_SWSURFACE instead.
Any help on this would be great!
Thanks in advance!!!