Commit 5d6b0b56 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

direct3d11: Simplify

parent b50f0f91
......@@ -1086,9 +1086,9 @@ static int Control(vout_display_t *vd, int query, va_list args)
if (query == VOUT_DISPLAY_CHANGE_VIEWPOINT)
{
const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t*);
if ( vd->sys->picQuad.pVertexShaderConstants )
if ( sys->picQuad.pVertexShaderConstants )
{
SetQuadVSProjection( vd, &vd->sys->picQuad, &cfg->viewpoint );
SetQuadVSProjection( vd, &sys->picQuad, &cfg->viewpoint );
res = VLC_SUCCESS;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment