Ulrich Czekalla : d3d9: Fix crash in texture test.

Alexandre Julliard julliard at winehq.org
Tue Oct 9 13:37:33 CDT 2007


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

Author: Ulrich Czekalla <ulrich.czekalla at utoronto.ca>
Date:   Sat Oct  6 10:38:36 2007 -0400

d3d9: Fix crash in texture test.

---

 dlls/d3d9/tests/texture.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/d3d9/tests/texture.c b/dlls/d3d9/tests/texture.c
index 36e9143..d0d00ee 100644
--- a/dlls/d3d9/tests/texture.c
+++ b/dlls/d3d9/tests/texture.c
@@ -146,6 +146,7 @@ static void test_mipmap_gen(IDirect3DDevice9 *device)
     if(FAILED(hr))
     {
         skip("No mipmap generation support\n");
+        return;
     }
 
     hr = IDirect3DDevice9_CreateTexture(device, 64, 64, 0, D3DUSAGE_AUTOGENMIPMAP,




More information about the wine-cvs mailing list