=?UTF-8?Q?Rico=20Sch=C3=BCller=20?=: d3d10/tests: Remove some device creation traces.

Alexandre Julliard julliard at winehq.org
Fri Nov 15 13:14:29 CST 2013


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

Author: Rico Schüller <kgbricola at web.de>
Date:   Fri Nov 15 09:46:02 2013 +0100

d3d10/tests: Remove some device creation traces.

---

 dlls/d3d10/tests/device.c |    6 ------
 dlls/d3d10/tests/effect.c |    6 ------
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/dlls/d3d10/tests/device.c b/dlls/d3d10/tests/device.c
index 9ad742f..d5393a9 100644
--- a/dlls/d3d10/tests/device.c
+++ b/dlls/d3d10/tests/device.c
@@ -26,17 +26,11 @@ static ID3D10Device *create_device(void)
     ID3D10Device *device;
 
     if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_HARDWARE, NULL, 0, D3D10_SDK_VERSION, &device)))
-    {
-        trace("Created a HW device\n");
         return device;
-    }
 
     trace("Failed to create a HW device, trying REF\n");
     if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_REFERENCE, NULL, 0, D3D10_SDK_VERSION, &device)))
-    {
-        trace("Created a REF device\n");
         return device;
-    }
 
     trace("Failed to create a device, returning NULL\n");
     return NULL;
diff --git a/dlls/d3d10/tests/effect.c b/dlls/d3d10/tests/effect.c
index fa24596..e16d458 100644
--- a/dlls/d3d10/tests/effect.c
+++ b/dlls/d3d10/tests/effect.c
@@ -28,17 +28,11 @@ static ID3D10Device *create_device(void)
     ID3D10Device *device;
 
     if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_HARDWARE, NULL, 0, D3D10_SDK_VERSION, &device)))
-    {
-        trace("Created a HW device\n");
         return device;
-    }
 
     trace("Failed to create a HW device, trying REF\n");
     if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_REFERENCE, NULL, 0, D3D10_SDK_VERSION, &device)))
-    {
-        trace("Created a REF device\n");
         return device;
-    }
 
     trace("Failed to create a device, returning NULL\n");
     return NULL;




More information about the wine-cvs mailing list