mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(D3D) Buildfixes
This commit is contained in:
parent
71c40f1bc8
commit
2b50d1c01c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user