Don't delete a texture twice
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user