[PATCH 2/2] d3d11: Switch to d3d-style formatting.

Stefan Dösinger stefan at codeweavers.com
Thu Feb 5 03:03:07 CST 2015


Yes, I know this is verboten, but there isn't much content in this file
that needs bisecting or merging. This makes it easier for other
contributors to add their stuff.
---
 dlls/d3d11/d3d11_main.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/d3d11/d3d11_main.c b/dlls/d3d11/d3d11_main.c
index 6af801d..ec8236f 100644
--- a/dlls/d3d11/d3d11_main.c
+++ b/dlls/d3d11/d3d11_main.c
@@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d11);
 
 static const char *debug_d3d_driver_type(D3D_DRIVER_TYPE driver_type)
 {
-    switch(driver_type)
+    switch (driver_type)
     {
 #define D3D11_TO_STR(x) case x: return #x
         D3D11_TO_STR(D3D_DRIVER_TYPE_UNKNOWN);
@@ -46,11 +46,11 @@ static const char *debug_d3d_driver_type(D3D_DRIVER_TYPE driver_type)
 }
 
 HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter *adapter, D3D_DRIVER_TYPE driver_type, HMODULE swrast, UINT flags,
-                                 const D3D_FEATURE_LEVEL *feature_levels, UINT levels, UINT sdk_version,
-                                 ID3D11Device **device, D3D_FEATURE_LEVEL *feature_level, ID3D11DeviceContext **context)
+        const D3D_FEATURE_LEVEL *feature_levels, UINT levels, UINT sdk_version, ID3D11Device **device,
+        D3D_FEATURE_LEVEL *feature_level, ID3D11DeviceContext **context)
 {
-    FIXME("stub: adapter %p, driver_type %s, swrast %p, flags %#x, feature_levels %p, levels %#x, sdk_version %u, "
-          "device %p, feature_level %p, context %p\n", adapter, debug_d3d_driver_type(driver_type), swrast,
-          flags, feature_levels, levels, sdk_version, device, feature_level, context);
+    FIXME("adapter %p, driver_type %s, swrast %p, flags %#x, feature_levels %p, levels %#x, sdk_version %u, "
+            "device %p, feature_level %p, context %p stub!\n", adapter, debug_d3d_driver_type(driver_type), swrast,
+            flags, feature_levels, levels, sdk_version, device, feature_level, context);
     return E_OUTOFMEMORY;
 }
-- 
2.0.5




More information about the wine-patches mailing list