[vlc-commits] D3D11: remove unused variable

Jean-Baptiste Kempf git at videolan.org
Thu May 12 16:23:03 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 12 16:21:57 2016 +0200| [43050d5d73c989be2bcca0cca56aa040f77b6d89] | committer: Jean-Baptiste Kempf

D3D11: remove unused variable

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

 modules/video_output/win32/direct3d11.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 3a4da52..91e8bcb 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1663,7 +1663,6 @@ static int Direct3D11MapTexture(picture_t *picture)
     vout_display_t     *vd = p_sys->vd;
     D3D11_MAPPED_SUBRESOURCE mappedResource;
     HRESULT hr;
-    int res;
     hr = ID3D11DeviceContext_Map(vd->sys->d3dcontext, (ID3D11Resource *)p_sys->texture, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource);
     if( FAILED(hr) )
     {



More information about the vlc-commits mailing list