From 95258c2777487dd56074e91be6486d926d2af756 Mon Sep 17 00:00:00 2001 From: xebra Date: Fri, 26 Dec 2014 03:10:26 +0900 Subject: [PATCH] DX9:Fix forgotten resizing stuff --- UI/NativeApp.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index dc41ec83bb..a8985f4e57 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -713,9 +713,13 @@ void NativeRender() { TakeScreenshot(); } - if (resized) { - resized = false; - D3D9_Resize(0); + if (g_Config.iGPUBackend == GPU_BACKEND_DIRECT3D9) { + if (resized) { + resized = false; +#ifdef _WIN32 + D3D9_Resize(0); +#endif + } } }