Matteo Bruni : d3d8: Use proper helper.

Alexandre Julliard julliard at winehq.org
Wed Oct 10 15:07:53 CDT 2012


Module: wine
Branch: master
Commit: f90f895759bf541ca1a245814beba67ed257cd33
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f90f895759bf541ca1a245814beba67ed257cd33

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Oct 10 18:25:57 2012 +0200

d3d8: Use proper helper.

---

 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)




More information about the wine-cvs mailing list