[vlc-devel] [PATCH] direct3d11: the feature level is best represented in hexadecimal
Steve Lhomme
robux4 at videolabs.io
Tue Aug 16 09:35:12 CEST 2016
---
modules/video_output/win32/direct3d11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 475d826..288050e 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1094,7 +1094,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
&sys->d3ddevice, &i_feature_level, &sys->d3dcontext);
if (SUCCEEDED(hr)) {
#ifndef NDEBUG
- msg_Dbg(vd, "Created the D3D11 device 0x%p ctx 0x%p type %d level %d.",
+ msg_Dbg(vd, "Created the D3D11 device 0x%p ctx 0x%p type %d level %x.",
(void *)sys->d3ddevice, (void *)sys->d3dcontext,
driverAttempts[driver], i_feature_level);
#endif
--
2.8.2
More information about the vlc-devel
mailing list