PDA

View Full Version : Slowdown using GL with SDL?



fuzzymoochicken
03-07-2008, 11:02 PM
Does anyone know if there are any particular problems with slowdown when you develop games with the SDL/OpenGL combination compared to just using Windows code with OpenGL? How bad is it if so? Just wanted to be sure before continuing development using the two. ^^

Trenki
03-08-2008, 02:21 AM
There is no reason you should experience any slow down with the SDL+OpenGL combination after initializing both properly.

[ www.trenki.net (http://www.trenki.net) | vector_math (3d math library) (http://www.trenki.net/content/view/16/36/) | software renderer (http://www.trenki.net/content/view/18/38/) ]

RGHP
03-09-2008, 05:50 PM
It also works good with GLEW. Just call glewInit() and then you can access OpenGL extensions without using SDL API.

zed
03-10-2008, 01:19 AM
the source code for SDL is included with the download so u can see what it does, theres no inherit slowdown associated with SDL, if u can show a less than optimal main loop method with SDL, im sure the SDL maintainers (+ me) would be interested