diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index a6fcb4a64c..01eda64c01 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -690,6 +690,9 @@ void RageDisplay::SetTexture( RageTexture* pTexture ) if( pOldD3DTexture != pNewD3DTexture ) FlushQueue(); + if(pOldD3DTexture) + pOldD3DTexture->Release(); + m_pd3dDevice->SetTexture( 0, pNewD3DTexture ); } void RageDisplay::SetColorTextureMultDiffuse()