mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-19 11:19:37 +00:00
mfplat/tests: Use the correct interfaces for some COM calls.
This commit is contained in:
parent
70f5c4cf38
commit
5bb9e670f6
|
@ -177,7 +177,7 @@ static void get_d3d9_surface_readback(IDirect3DSurface9 *surface, struct d3d9_su
|
|||
rb->surf_desc.Format, D3DPOOL_SYSTEMMEM, &rb->readback_surface, NULL);
|
||||
ok(hr == D3D_OK, "Failed to create surface, hr %#lx.\n", hr);
|
||||
|
||||
hr = IDirect3DDevice9Ex_GetRenderTargetData(device, surface, rb->readback_surface);
|
||||
hr = IDirect3DDevice9_GetRenderTargetData(device, surface, rb->readback_surface);
|
||||
ok(hr == D3D_OK, "Failed to get render target data, hr %#lx.\n", hr);
|
||||
|
||||
hr = IDirect3DSurface9_LockRect(rb->readback_surface, &rb->map_desc, NULL, 0);
|
||||
|
|
Loading…
Reference in a new issue