[PATCH 2/5] d3d8: Use proper helper.

Matteo Bruni mbruni at codeweavers.com
Wed Oct 10 11:25:57 CDT 2012


---
 dlls/d3d8/tests/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index b16d5bf..8cd150f 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -168,7 +168,7 @@ static void check_mipmap_levels(IDirect3DDevice8 *device, UINT width, UINT heigh
     } else
         trace("CreateTexture failed: %#08x\n", hr);
 
-    if (texture) IDirect3DDevice8_Release( texture );
+    if (texture) IDirect3DBaseTexture8_Release( texture );
 }
 
 static void test_mipmap_levels(void)
-- 
1.7.8.6




More information about the wine-patches mailing list