Revert " don't set the opengl version in sdl"

This reverts commit 358ae1091afac38b1bc384bf4784fd777d63d375.