Józef Kucia : wined3d: Store pointer to device in wined3d_context.