(UWP) Buildfix

This commit is contained in:
twinaphex 2020-08-08 18:17:40 +02:00
parent 5e551dd92b
commit ade58fc8b6
3 changed files with 24 additions and 0 deletions

View File

@ -1744,6 +1744,7 @@ static uint32_t d3d10_get_flags(void *data)
return flags;
}
#ifdef __WINRT__
static void d3d10_get_video_output_size(void *data,
unsigned *width, unsigned *height)
{
@ -1763,6 +1764,7 @@ static void d3d10_get_video_output_next(void *data)
unsigned height = 0;
win32_get_video_output_next(&width, &height);
}
#endif
static const video_poke_interface_t d3d10_poke_interface = {
d3d10_get_flags,
@ -1776,9 +1778,15 @@ static const video_poke_interface_t d3d10_poke_interface = {
NULL,
#endif
d3d10_set_filtering,
#ifdef __WINRT__
NULL, /* get_video_output_size */
NULL, /* get_video_output_prev */
NULL, /* get_video_output_next */
#else
d3d10_get_video_output_size,
d3d10_get_video_output_prev,
d3d10_get_video_output_next,
#endif
NULL, /* get_current_framebuffer */
NULL, /* get_proc_address */
d3d10_gfx_set_aspect_ratio,

View File

@ -1827,6 +1827,7 @@ static uint32_t d3d11_get_flags(void *data)
return flags;
}
#ifdef __WINRT__
static void d3d11_get_video_output_size(void *data,
unsigned *width, unsigned *height)
{
@ -1846,6 +1847,7 @@ static void d3d11_get_video_output_next(void *data)
unsigned height = 0;
win32_get_video_output_next(&width, &height);
}
#endif
static const video_poke_interface_t d3d11_poke_interface = {
d3d11_get_flags,
@ -1859,9 +1861,15 @@ static const video_poke_interface_t d3d11_poke_interface = {
NULL,
#endif
d3d11_set_filtering,
#ifdef __WINRT__
NULL, /* get_video_output_size */
NULL, /* get_video_output_prev */
NULL, /* get_video_output_next */
#else
d3d11_get_video_output_size,
d3d11_get_video_output_prev,
d3d11_get_video_output_next,
#endif
NULL, /* get_current_framebuffer */
NULL, /* get_proc_address */
d3d11_gfx_set_aspect_ratio,

View File

@ -1830,6 +1830,7 @@ static uint32_t d3d12_get_flags(void *data)
return flags;
}
#ifdef __WINRT__
static void d3d12_get_video_output_size(void *data,
unsigned *width, unsigned *height)
{
@ -1849,6 +1850,7 @@ static void d3d12_get_video_output_next(void *data)
unsigned height = 0;
win32_get_video_output_next(&width, &height);
}
#endif
static const video_poke_interface_t d3d12_poke_interface = {
d3d12_get_flags,
@ -1862,9 +1864,15 @@ static const video_poke_interface_t d3d12_poke_interface = {
NULL,
#endif
d3d12_set_filtering,
#ifdef __WINRT__
NULL, /* get_video_output_size */
NULL, /* get_video_output_prev */
NULL, /* get_video_output_next */
#else
d3d12_get_video_output_size,
d3d12_get_video_output_prev,
d3d12_get_video_output_next,
#endif
NULL, /* get_current_framebuffer */
NULL, /* get_proc_address */
d3d12_gfx_set_aspect_ratio,