Don't delete a texture twice

This commit is contained in:
Glenn Maynard
2003-07-09 04:29:23 +00:00
parent 237565b865
commit 329712816f
+3 -1
View File
@@ -188,7 +188,9 @@ struct BannerTexture: public RageTexture
void Destroy()
{
DISPLAY->DeleteTexture( m_uTexHandle );
if( m_uTexHandle )
DISPLAY->DeleteTexture( m_uTexHandle );
m_uTexHandle = 0;
}
void Reload()