Commit 41707e0c authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

direct3d11: warn when the projection is not handled

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e293b464
...@@ -1819,7 +1819,10 @@ static bool AllocQuadVertices(vout_display_t *vd, d3d_quad_t *quad, video_projec ...@@ -1819,7 +1819,10 @@ static bool AllocQuadVertices(vout_display_t *vd, d3d_quad_t *quad, video_projec
quad->indexCount = nbLatBands * nbLonBands * 2 * 3; quad->indexCount = nbLatBands * nbLonBands * 2 * 3;
} }
else else
{
msg_Warn(vd, "Projection mode %s not handled", projection);
return false; return false;
}
D3D11_BUFFER_DESC bd; D3D11_BUFFER_DESC bd;
memset(&bd, 0, sizeof(bd)); memset(&bd, 0, sizeof(bd));
......
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