Skip to content

direct3d9: fix the texture stretching

Steve Lhomme requested to merge robUx4/vlc:d3d9-stretch-fix into master

The destination texture (sys->sceneTexture) has the visible dimensions, not the decoder dimensions.

Factorize the size processing for the stretching and the vertex computing.

Ref. https://forum.videolan.org/viewtopic.php?f=14&t=159861

Should be backported to 3.0

Merge request reports

Loading