[PATCH 3/5] wined3d: Get D3D and GL info from context in create_dummy_textures().