[vlc-commits] direct3d11: the feature level is best represented in hexadecimal

Steve Lhomme git at videolan.org
Sun Aug 21 18:27:27 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Aug 16 09:35:12 2016 +0200| [639400f8ff34eb42e278074268e7b3a9ad64c0c5] | committer: Jean-Baptiste Kempf

direct3d11: the feature level is best represented in hexadecimal

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=639400f8ff34eb42e278074268e7b3a9ad64c0c5
---

 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 f17ebdb..c6da0b5 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



More information about the vlc-commits mailing list