SDL is a crap. I suggest to use native platform initialiastions instead of it. You can get a copy for winapi/Xlib context creation at nehe tutorials. I used glut for a while, but now i throw it out becouse the unlimit numbers of never-fixed-10-year-old bugs. This also stands for SDL.
SDL works fine for me. Changing every single one of my libraries and abandoning my software renderer to use another is far from an option.