From 2b341bb267bd31b048a0031f651a598cc6506730 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 5 Aug 2014 01:34:42 -0400 Subject: [PATCH] D3D: Remove an unnecessary call to Host_GetRenderWindowSize() --- Source/Core/VideoBackends/D3D/Render.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp index 30b638d2b9..09d0af5b65 100644 --- a/Source/Core/VideoBackends/D3D/Render.cpp +++ b/Source/Core/VideoBackends/D3D/Render.cpp @@ -179,10 +179,6 @@ void CreateScreenshotTexture(const TargetRectangle& rc) Renderer::Renderer(void *&window_handle) { - int x, y, w_temp, h_temp; - - Host_GetRenderWindowSize(x, y, w_temp, h_temp); - D3D::Create((HWND)window_handle); s_backbuffer_width = D3D::GetBackBufferWidth();