sdl1.2 example converted to sdl2 working with opengl yay!