=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11: Remove outdated FIXME comment.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 22 10:22:07 CDT 2015


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Oct 22 01:52:22 2015 +0200

d3d11: Remove outdated FIXME comment.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;
     }
 




More information about the wine-cvs mailing list