Stefan Dösinger : wined3d: Activate a context before doing opengl calls.