Add a function to steal a texture from a GL context