Commit 544af798 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
parent ce6fb666
......@@ -510,6 +510,10 @@ static int Direct3DCreate(vout_display_t *vd)
}
/* TODO: need to test device capabilities and select the right render function */
if (!(sys->d3dcaps.DevCaps2 & D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES)) {
msg_Err(vd, "Device does not support stretching from textures.");
return VLC_EGENERIC;
}
return 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