Use d3d_set_viewport

This commit is contained in:
twinaphex 2015-11-10 23:09:58 +01:00
parent ffe711642f
commit bcc0614fc4

View File

@ -1655,7 +1655,7 @@ static bool d3d_frame(void *data, const void *frame,
screen_vp.MaxZ = 1;
screen_vp.Width = width;
screen_vp.Height = height;
d3dr->SetViewport(&screen_vp);
d3d_set_viewport(d3dr, &screen_vp);
d3d_clear(d3dr, 0, 0, D3DCLEAR_TARGET, 0, 1, 0);
/* Insert black frame first, so we