View Full Version : Slowdown using GL with SDL?
03-07-2008, 10: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. ^^
03-08-2008, 01: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/) ]
It also works good with GLEW. Just call glewInit() and then you can access OpenGL extensions without using SDL API.
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
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.