Merge pull request #3 from woodne/master

wrapped stuff in rendercontext for sdl2