mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Use d3d_set_viewport
This commit is contained in:
parent
ffe711642f
commit
bcc0614fc4
@ -1655,7 +1655,7 @@ static bool d3d_frame(void *data, const void *frame,
|
|||||||
screen_vp.MaxZ = 1;
|
screen_vp.MaxZ = 1;
|
||||||
screen_vp.Width = width;
|
screen_vp.Width = width;
|
||||||
screen_vp.Height = height;
|
screen_vp.Height = height;
|
||||||
d3dr->SetViewport(&screen_vp);
|
d3d_set_viewport(d3dr, &screen_vp);
|
||||||
d3d_clear(d3dr, 0, 0, D3DCLEAR_TARGET, 0, 1, 0);
|
d3d_clear(d3dr, 0, 0, D3DCLEAR_TARGET, 0, 1, 0);
|
||||||
|
|
||||||
/* Insert black frame first, so we
|
/* Insert black frame first, so we
|
||||||
|
Loading…
x
Reference in New Issue
Block a user