From 3979482ce6ceb73da3e17d927137b0751d899003 Mon Sep 17 00:00:00 2001 From: Matthieu Totet Date: Mon, 7 Oct 2024 22:03:00 +0200 Subject: [PATCH] Dx9/11 resize --- src/platform_w32_dx11/Renderer.cpp | 2 +- src/platform_w32_dx9/Renderer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform_w32_dx11/Renderer.cpp b/src/platform_w32_dx11/Renderer.cpp index 200acfae..6e0eeb92 100644 --- a/src/platform_w32_dx11/Renderer.cpp +++ b/src/platform_w32_dx11/Renderer.cpp @@ -166,7 +166,7 @@ char defaultVertexShader[ 65536 ] = "}\n"; bool run = true; - +bool sizeChanged =false; IDXGISwapChain * pSwapChain = NULL; ID3D11Device * pDevice = NULL; ID3D11DeviceContext * pContext = NULL; diff --git a/src/platform_w32_dx9/Renderer.cpp b/src/platform_w32_dx9/Renderer.cpp index d1277701..f826702d 100644 --- a/src/platform_w32_dx9/Renderer.cpp +++ b/src/platform_w32_dx9/Renderer.cpp @@ -170,7 +170,7 @@ char defaultVertexShader[ 65536 ] = "}\n"; bool run = true; - +bool sizeChanged =false; LPDIRECT3D9 pD3D = NULL; LPDIRECT3DDEVICE9 pDevice = NULL; LPD3DXCONSTANTTABLE pConstantTable = NULL;