Minor fixes

This commit is contained in:
Jackie Liu committed 2022-10-05 03:21:47 -07:00
1 parent 7538ebe506
commit c92716f3e5
4 files changed
-6

No files matched your search

@@ -84,7 +84,6 @@ namespace Core.DataLoader
Texture2D texture = new Texture2D(_width, _height, _format, mipChain: false);
texture.LoadRawTextureData(_rawData);
texture.Apply();
texture.alphaIsTransparency = true;
return texture;
}
}
@@ -77,7 +77,6 @@ namespace Core.DataLoader
var texture = new Texture2D(_width, _height, TextureFormat.RGBA32, mipChain: false);
texture.SetPixels32(_pixels);
texture.Apply();
texture.alphaIsTransparency = true;
return texture;
}
}
@@ -121,9 +121,6 @@ namespace Core.DataReader.Bmp
texture.SetPixels32(imageData);
texture.Apply();
texture.alphaIsTransparency = true;
return texture;
}
@@ -512,7 +512,6 @@ namespace Pal3.Data
ITextureResourceProvider textureProvider = GetTextureResourceProvider(cursorSpriteRelativePath);
Texture2D cursorTexture = textureProvider.GetTexture($"jt.tga");
cursorTexture.alphaIsTransparency = true;
return cursorTexture;
}