(D3D) Buildfixes

This commit is contained in:
twinaphex 2015-11-11 01:45:43 +01:00
parent 71c40f1bc8
commit 2b50d1c01c

View File

@ -739,7 +739,7 @@ static void d3d_viewport_info(void *data, struct video_viewport *vp)
d3d_video_t *d3d = (d3d_video_t*)data;
if (!d3d || !d3d->renderchain_driver || !d3d->renderchain_driver->viewport_info)
return false;
return;
d3d->renderchain_driver->viewport_info(d3d, vp);
}
@ -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)