Matteo Bruni : wined3d: Add two functions for GL context activation/restore .