Skip to content
Snippets Groups Projects
Commit 622389c9 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

wingdi: use a better stretch mode

This gives a much better picture quality.

If the call fails (COLORONCOLOR not supported) this has no effect and the old
ugly stretch mode is used.
parent 654fe5a8
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,8 @@ static void Display(vout_display_t *vd, picture_t *picture)
if (sys->area.place.width != vd->source.i_visible_width ||
sys->area.place.height != vd->source.i_visible_height) {
SetStretchBltMode(hdc, COLORONCOLOR);
StretchBlt(hdc, sys->area.place.x, sys->area.place.y,
sys->area.place.width, sys->area.place.height,
sys->off_dc,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment