Skip to content

direct3d9: fix the texture stretching

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