mirror of
https://github.com/libretro/RetroArch
synced 2025-04-06 19:21:37 +00:00
(D3D) Buildfix
This commit is contained in:
parent
86504392b9
commit
e970372959
@ -597,9 +597,11 @@ static bool d3d_construct(d3d_video_t *d3d,
|
|||||||
#else
|
#else
|
||||||
gfx_ctx_get_video_size(d3d, &full_x, &full_y);
|
gfx_ctx_get_video_size(d3d, &full_x, &full_y);
|
||||||
#endif
|
#endif
|
||||||
video_driver_set_size(
|
{
|
||||||
info->fullscreen ? &full_x : &info->width,
|
unsigned new_width = info->fullscreen ? full_x : info->width;
|
||||||
info->fullscreen ? &full_y : &info->height);
|
unsigned new_height = info->fullscreen ? full_y : info->height;
|
||||||
|
video_driver_set_size(&new_width, &new_height);
|
||||||
|
}
|
||||||
|
|
||||||
#ifndef _XBOX
|
#ifndef _XBOX
|
||||||
#ifdef HAVE_WINDOW
|
#ifdef HAVE_WINDOW
|
||||||
|
Loading…
x
Reference in New Issue
Block a user