Use GLFW library instead of SDL. Force use of OpenGL 3.2