From 8a215ce30e47eb279c7fb2e654e4c6fc173dbfba Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 24 Apr 2017 12:24:55 +0200 Subject: [PATCH] Revert "Cut down on another video_driver_set_size call" This reverts commit b951c84e014c0896146e584ebeea4b2b6c7ec8d1. --- gfx/drivers/d3d.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/drivers/d3d.cpp b/gfx/drivers/d3d.cpp index 850b7dbcd9..c833ab8255 100644 --- a/gfx/drivers/d3d.cpp +++ b/gfx/drivers/d3d.cpp @@ -1042,9 +1042,7 @@ 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->real_width = new_width; - video->real_height = new_height; + video_driver_set_size(&new_width, &new_height); } #ifdef HAVE_WINDOW