[PATCH 1/6] d3d11: Remove outdated FIXME comment.

Józef Kucia jkucia at codeweavers.com
Wed Oct 21 18:52:22 CDT 2015


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 dlls/d3d11/d3d11_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/d3d11/d3d11_main.c b/dlls/d3d11/d3d11_main.c
index efc346e..9dd0823 100644
--- a/dlls/d3d11/d3d11_main.c
+++ b/dlls/d3d11/d3d11_main.c
@@ -347,8 +347,7 @@ cleanup:
         *obtained_feature_level = 0;
     if (immediate_context)
     {
-        /* FIXME: Remove the following NULL check once the d3d11_device_GetImmediateContext() is implemented. */
-        if (*immediate_context) ID3D11DeviceContext_Release(*immediate_context);
+        ID3D11DeviceContext_Release(*immediate_context);
         *immediate_context = NULL;
     }
 
-- 
2.4.10




More information about the wine-patches mailing list