mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-17 15:59:57 +00:00
Ifdef this for HAVE_D3D12
This commit is contained in:
parent
472abb1e8f
commit
e79c19e52a
@ -1859,11 +1859,17 @@ void video_driver_update_viewport(struct video_viewport* vp, bool force_full, bo
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO/FIXME - messy - maybe we should add a new function to the
|
||||
* video driver interface instead to hide away implementation details */
|
||||
#if defined(RARCH_MOBILE)
|
||||
#ifdef HAVE_D3D
|
||||
#ifdef HAVE_D3D12
|
||||
/* In portrait mode, we want viewport to gravitate to top of screen. */
|
||||
if (device_aspect < 1.0f)
|
||||
d3d12->vp.y = 0;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void video_driver_show_mouse(void)
|
||||
|
Loading…
Reference in New Issue
Block a user