Module: wine Branch: master Commit: 70f5c4cf3805cb1291d61a55ef834646df21d876 URL: https://gitlab.winehq.org/wine/wine/-/commit/70f5c4cf3805cb1291d61a55ef83464...
Author: Elizabeth Figura zfigura@codeweavers.com Date: Fri Jun 21 19:12:10 2024 -0500
d3dcompiler/tests: Use the correct interfaces for some COM calls.
---
dlls/d3dcompiler_43/tests/hlsl_d3d9.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3dcompiler_43/tests/hlsl_d3d9.c b/dlls/d3dcompiler_43/tests/hlsl_d3d9.c index e736f932b39..1799a958ee8 100644 --- a/dlls/d3dcompiler_43/tests/hlsl_d3d9.c +++ b/dlls/d3dcompiler_43/tests/hlsl_d3d9.c @@ -288,16 +288,16 @@ static void init_readback(IDirect3DDevice9 *device, struct readback *rb) D3DSURFACE_DESC desc; HRESULT hr;
- hr = IDirect3DDevice9Ex_GetRenderTarget(device, 0, &rt); + hr = IDirect3DDevice9_GetRenderTarget(device, 0, &rt); ok(hr == D3D_OK, "Got unexpected hr %#lx.\n", hr);
hr = IDirect3DSurface9_GetDesc(rt, &desc); ok(hr == D3D_OK, "Got unexpected hr %#lx.\n", hr); - hr = IDirect3DDevice9Ex_CreateOffscreenPlainSurface(device, desc.Width, desc.Height, + hr = IDirect3DDevice9_CreateOffscreenPlainSurface(device, desc.Width, desc.Height, desc.Format, D3DPOOL_SYSTEMMEM, &rb->surface, NULL); ok(hr == D3D_OK, "Got unexpected hr %#lx.\n", hr);
- hr = IDirect3DDevice9Ex_GetRenderTargetData(device, rt, rb->surface); + hr = IDirect3DDevice9_GetRenderTargetData(device, rt, rb->surface); ok(hr == D3D_OK, "Got unexpected hr %#lx.\n", hr);
hr = IDirect3DSurface9_LockRect(rb->surface, &rb->rect, NULL, D3DLOCK_READONLY);