(D3D) Two more buildfixes
This commit is contained in:
parent
2b50d1c01c
commit
376ecb2a47
|
@ -1337,8 +1337,8 @@ static void d3d_overlay_render(d3d_video_t *d3d, overlay_t *overlay)
|
||||||
|
|
||||||
d3d_viewport_info(d3d, &vp);
|
d3d_viewport_info(d3d, &vp);
|
||||||
|
|
||||||
overlay_width = vp->width;
|
overlay_width = vp.width;
|
||||||
overlay_height = vp->height;
|
overlay_height = vp.height;
|
||||||
|
|
||||||
vert[0].x = overlay->vert_coords.x * overlay_width;
|
vert[0].x = overlay->vert_coords.x * overlay_width;
|
||||||
vert[1].x = (overlay->vert_coords.x + overlay->vert_coords.w)
|
vert[1].x = (overlay->vert_coords.x + overlay->vert_coords.w)
|
||||||
|
|
Loading…
Reference in New Issue