[vlc-commits] direct3d11: code cleaning
Steve Lhomme
git at videolan.org
Wed Dec 13 11:15:36 CET 2017
vlc/vlc-3.0 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Dec 12 14:13:43 2017 +0100| [a11622dfcb8add3592fd9d2fc6d68a84927a7564] | committer: Hugo Beauzée-Luyssen
direct3d11: code cleaning
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 8c4ca0d5b59f247ae3838dec9cc01322cd2fa263)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=a11622dfcb8add3592fd9d2fc6d68a84927a7564
---
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 3920751568..1fd25bb85a 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -2459,7 +2459,7 @@ static bool UpdateQuadPosition( vout_display_t *vd, d3d_quad_t *quad,
D3D11_MAPPED_SUBRESOURCE mappedResource;
/* create the vertices */
- hr = ID3D11DeviceContext_Map(sys->d3d_dev.d3dcontext, (ID3D11Resource *)quad->pVertexBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource);
+ hr = ID3D11DeviceContext_Map(sys->d3d_dev.d3dcontext, (ID3D11Resource *)quad->pVertexBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource);
if (FAILED(hr)) {
msg_Err(vd, "Failed to lock the vertex buffer (hr=0x%lX)", hr);
return false;
More information about the vlc-commits
mailing list