38f1ddb...178a853: v0.8.9.1, removed content folder
This commit is contained in:
@@ -46,7 +46,10 @@ namespace Barotrauma
|
||||
using (Stream fileStream = File.OpenRead(path))
|
||||
{
|
||||
var texture = Texture2D.FromStream(_graphicsDevice, fileStream);
|
||||
PreMultiplyAlpha(texture);
|
||||
if (preMultiplyAlpha)
|
||||
{
|
||||
PreMultiplyAlpha(texture);
|
||||
}
|
||||
return texture;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user