mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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
|
||||
gfx_ctx_get_video_size(d3d, &full_x, &full_y);
|
||||
#endif
|
||||
video_driver_set_size(
|
||||
info->fullscreen ? &full_x : &info->width,
|
||||
info->fullscreen ? &full_y : &info->height);
|
||||
{
|
||||
unsigned new_width = info->fullscreen ? full_x : info->width;
|
||||
unsigned new_height = info->fullscreen ? full_y : info->height;
|
||||
video_driver_set_size(&new_width, &new_height);
|
||||
}
|
||||
|
||||
#ifndef _XBOX
|
||||
#ifdef HAVE_WINDOW
|
||||
|
Loading…
x
Reference in New Issue
Block a user