vlc | branch: master | Steve Lhomme <[email protected]> | Fri Apr 27 09:48:36 2018 +0200| [047b2121fbf5923293e621d0fc49a6de44982d0c] | committer: Steve Lhomme
direct3d11: use D3D11_CreateRenderTargets() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=047b2121fbf5923293e621d0fc49a6de44982d0c --- modules/video_output/win32/d3d11_quad.c | 4 ++-- modules/video_output/win32/d3d11_quad.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/video_output/win32/d3d11_quad.c b/modules/video_output/win32/d3d11_quad.c index ce26e59269..1a8567c7b6 100644 --- a/modules/video_output/win32/d3d11_quad.c +++ b/modules/video_output/win32/d3d11_quad.c @@ -43,11 +43,11 @@ void D3D11_RenderQuad(d3d11_device_t *d3d_dev, d3d_quad_t *quad, ID3D11ShaderResourceView *resourceView[D3D11_MAX_SHADER_VIEW], - ID3D11RenderTargetView *d3drenderTargetView) + ID3D11RenderTargetView *d3drenderTargetView[D3D11_MAX_SHADER_VIEW]) { UINT offset = 0; - ID3D11DeviceContext_OMSetRenderTargets(d3d_dev->d3dcontext, 1, &d3drenderTargetView, NULL); + ID3D11DeviceContext_OMSetRenderTargets(d3d_dev->d3dcontext, 1, &d3drenderTargetView[0], NULL); /* Render the quad */ ID3D11DeviceContext_IASetPrimitiveTopology(d3d_dev->d3dcontext, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); diff --git a/modules/video_output/win32/d3d11_quad.h b/modules/video_output/win32/d3d11_quad.h index 6297a23042..a168baaeb6 100644 --- a/modules/video_output/win32/d3d11_quad.h +++ b/modules/video_output/win32/d3d11_quad.h @@ -68,7 +68,7 @@ typedef struct d3d_vertex_t { void D3D11_RenderQuad(d3d11_device_t *, d3d_quad_t *, ID3D11ShaderResourceView *resourceViews[D3D11_MAX_SHADER_VIEW], - ID3D11RenderTargetView *); + ID3D11RenderTargetView *renderTarget[D3D11_MAX_SHADER_VIEW]); void D3D11_ReleaseQuad(d3d_quad_t *); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
