wrapped stuff in rendercontext for sdl2