added a second sample, sample 1 no longer uses the renderer, but a sdl opengl context.