Henri Verbeet : wined3d: Pass an IWineD3DDeviceImpl pointer to create_primary_opengl_context().