(D3D) Two more buildfixes

This commit is contained in:
twinaphex 2015-11-11 01:46:59 +01:00
parent 2b50d1c01c
commit 376ecb2a47

View File

@ -1337,8 +1337,8 @@ static void d3d_overlay_render(d3d_video_t *d3d, overlay_t *overlay)
d3d_viewport_info(d3d, &vp);
overlay_width = vp->width;
overlay_height = vp->height;
overlay_width = vp.width;
overlay_height = vp.height;
vert[0].x = overlay->vert_coords.x * overlay_width;
vert[1].x = (overlay->vert_coords.x + overlay->vert_coords.w)