Hello,
I have an SDL related question. When using the SDL_SetVideoMode function, what is better(or faster I should say): Hardware surface or software surface, what are the differences between the two, and when is it better to use one over the other.
I remember long ago I found a code snipplet that would check for the best flags to pass to SDL_SetVideoMode. Dose any one know a method of checking available hardware and setting SDL accordingly?
Thanks,
Jacob
SDL video flag questions
Moderator: Coders of Rage
- cloudncali
- Chaos Rift Newbie
- Posts: 13
- Joined: Sun Jan 18, 2009 8:36 pm
- Current Project: Random stuff
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Contact:
SDL video flag questions
Come visit my youtube channel:
http://www.youtube.com/cloudncali
http://www.youtube.com/cloudncali
- short
- ES Beta Backer
- Posts: 548
- Joined: Thu Apr 30, 2009 2:22 am
- Current Project: c++, c
- Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
- Programming Language of Choice: c, c++
- Location: Oregon, US
Re: SDL video flag questions
http://linuxdevcenter.com/pub/a/linux/2 ... _anim.htmlcloudncali wrote:Hello,
I have an SDL related question. When using the SDL_SetVideoMode function, what is better(or faster I should say): Hardware surface or software surface, what are the differences between the two, and when is it better to use one over the other.
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
link: https://github.com/bjadamson