[vlc-commits] direct3d11: code cleaning
Steve Lhomme
git at videolan.org
Wed Dec 13 09:30:03 CET 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Dec 12 14:13:43 2017 +0100| [8c4ca0d5b59f247ae3838dec9cc01322cd2fa263] | committer: Jean-Baptiste Kempf
direct3d11: code cleaning
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c4ca0d5b59f247ae3838dec9cc01322cd2fa263
---
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