fix crash on toggle fullscreen under D3D

This commit is contained in:
Chris Danford
2003-05-23 23:51:28 +00:00
parent 5e8eaf3096
commit 66a53ec9e7
3 changed files with 3 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+3 -1
View File
@@ -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()