SDL + openGL support

Hi, I am going to do some tests using SDL+OpenGL.
Now my questions are… in your experience,

should I focus on OpenGL 2.1 or starting with a previous
version of OpenGL?

Should I use older version of OpenGL because they are best
supported or I can try to develope with newer versions?

I ask because I have found some codes that contains checks
about OpenGL installed version and use older or newer
features with a very simple approach like

if (version < 1.1) do…
else do…

Is this kind of check really necessary?

Thanks

Well, afaik there are no real SDL related issues concerning OGL versions,
anyone would do fine.
Even so, I would recommend you not no use 2.1, since it has as of yet very
little real support.

Go for 2.0 or 1.5.

/ChrisOn 9/4/07, Guido Billi wrote:

Hi, I am going to do some tests using SDL+OpenGL.
Now my questions are… in your experience,

should I focus on OpenGL 2.1 or starting with a previous
version of OpenGL?

Should I use older version of OpenGL because they are best
supported or I can try to develope with newer versions?

I ask because I have found some codes that contains checks
about OpenGL installed version and use older or newer
features with a very simple approach like

if (version < 1.1) do…
else do…

Is this kind of check really necessary?

Thanks


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d? s-: a— C>$ UL+++>$ P L+++>$ !E— !W+++>$ !N o? K–? !w-- !O----
!M>$ !V? PS+(+++)@ !PE Y++ !PGP? t++ !5? X++ !R tv–? b+>$ DI D+ G e h !r
!y*
------END GEEK CODE BLOCK------