v0.5.3.3
+ removed unnecessary EventInput code from the linux build, null check before disposing sprite texture
This commit is contained in:
@@ -379,7 +379,11 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
//if not, free the texture
|
||||
texture.Dispose();
|
||||
if (texture != null)
|
||||
{
|
||||
texture.Dispose();
|
||||
texture = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user