[vlc-commits] d3d11_fmt: always show the driver found
Steve Lhomme
git at videolan.org
Mon Jun 4 17:21:59 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 4 17:15:40 2018 +0200| [6cca704dc7446485010efa0e3a2f6dd42b4a2227] | committer: Steve Lhomme
d3d11_fmt: always show the driver found
Even in release builds to fix debugging issues
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cca704dc7446485010efa0e3a2f6dd42b4a2227
---
modules/video_chroma/d3d11_fmt.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c
index 8768829376..aebf5befe6 100644
--- a/modules/video_chroma/d3d11_fmt.c
+++ b/modules/video_chroma/d3d11_fmt.c
@@ -274,12 +274,9 @@ HRESULT D3D11_CreateDevice(vlc_object_t *obj, d3d11_handle_t *hd3d,
D3D11_features, ARRAY_SIZE(D3D11_features), D3D11_SDK_VERSION,
&out->d3ddevice, &out->feature_level, &out->d3dcontext);
if (SUCCEEDED(hr)) {
-#ifndef NDEBUG
- msg_Dbg(obj, "Created the D3D11 device 0x%p ctx 0x%p type %d level %x.",
- (void *)out->d3ddevice, (void *)out->d3dcontext,
+ msg_Dbg(obj, "Created the D3D11 device type %d level %x.",
driverAttempts[driver], out->feature_level);
D3D11_GetDriverVersion( obj, out );
-#endif
/* we can work with legacy levels but only if forced */
if ( obj->obj.force || out->feature_level >= D3D_FEATURE_LEVEL_11_0 )
break;
More information about the vlc-commits
mailing list