mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Move this down
This commit is contained in:
parent
c774fb2447
commit
df70a067d5
@ -988,11 +988,6 @@ static bool d3d_construct(d3d_video_t *d3d,
|
||||
#else
|
||||
gfx_ctx_get_video_size(&full_x, &full_y);
|
||||
#endif
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
#ifdef HAVE_WINDOW
|
||||
DWORD style;
|
||||
@ -1010,6 +1005,13 @@ static bool d3d_construct(d3d_video_t *d3d,
|
||||
windowed_full, &rect);
|
||||
#endif
|
||||
|
||||
if (!info->fullscreen)
|
||||
{
|
||||
full_x = info->width;
|
||||
full_y = info->height;
|
||||
}
|
||||
video_driver_set_size(&full_x, &full_y);
|
||||
|
||||
#ifdef HAVE_SHADERS
|
||||
/* This should only be done once here
|
||||
* to avoid set_shader() to be overridden
|
||||
|
Loading…
x
Reference in New Issue
Block a user