mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cut down on another video_driver_set_size call
This commit is contained in:
parent
0021970c16
commit
b951c84e01
1 changed files with 3 additions and 1 deletions
|
@ -1042,7 +1042,9 @@ static bool d3d_construct(d3d_video_t *d3d,
|
|||
{
|
||||
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);
|
||||
|
||||
video->real_width = new_width;
|
||||
video->real_height = new_height;
|
||||
}
|
||||
|
||||
#ifdef HAVE_WINDOW
|
||||
|
|
Loading…
Add table
Reference in a new issue