From 66a53ec9e7ebbca8d648027331acd30501fdcc61 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 23 May 2003 23:51:28 +0000 Subject: [PATCH] fix crash on toggle fullscreen under D3D --- stepmania/Utils/Bitmap Font Builder.exe | Bin 139264 -> 139264 bytes stepmania/Utils/LineCounter.exe | Bin 24576 -> 24576 bytes stepmania/src/RageDisplay_D3D.cpp | 4 +++- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/Utils/Bitmap Font Builder.exe b/stepmania/Utils/Bitmap Font Builder.exe index 0b576742fb120f024b4c4eed757a172bc68f4d03..08ba23a0a0d32abb14cd1a8ffcd457a2226e42a2 100755 GIT binary patch delta 69 zcmZoTz|nAkV*>{xGXn#|WNyYIj1MMXU^Gx*m;mHoU}ON(6M!@laA06K)2zVMuE4~& KU4e<|fh+(j5)JwQ delta 69 zcmZoTz|nAkV*>{xv(i7N$=r-b7!xL6U^GxjXl7twxWLH3FabzU0Mbanfq}uHS%Ilt Nfr)Xu0u$2%SpZpL4r2fS diff --git a/stepmania/Utils/LineCounter.exe b/stepmania/Utils/LineCounter.exe index f25ebae178f6a15d7783e59ac17773ef104178c1..d35f5ca92ef8360d4dfa3268c5f98ccc763b35ee 100755 GIT binary patch delta 60 zcmZoTz}Rqral%E$2@@}!WqdGs0i%Heg8%~qLjw?l=l~!_0uBreXEqB42=FZu2mk;9 CLJc|q delta 60 zcmZoTz}Rqral%E$1rslwWlWg7fYCsKhXDv0fLH*C1ArI_I503cZ59j=;9DdR008It B3_Jh; diff --git a/stepmania/src/RageDisplay_D3D.cpp b/stepmania/src/RageDisplay_D3D.cpp index 4fd699bdd0..ec137b2557 100644 --- a/stepmania/src/RageDisplay_D3D.cpp +++ b/stepmania/src/RageDisplay_D3D.cpp @@ -357,7 +357,9 @@ bool RageDisplay::SetVideoMode( bool windowed, int width, int height, int bpp, i g_pd3dDevice->BeginScene(); - return false; // we can always reuse the D3D device + return true; + // Always reload textures. None of our textures + // are managed and all texture palettes are lost on Reset(). } void RageDisplay::ResolutionChanged()