浏览代码

Explicitly set no mip levels.

Halsafar 4 年之前
父节点
当前提交
5abd470221
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SongBrowserPlugin/UI/Base64Sprites.cs

+ 1 - 1
SongBrowserPlugin/UI/Base64Sprites.cs

@@ -85,7 +85,7 @@ namespace SongBrowser.UI
         {
             if (file.Count() > 0)
             {
-                Texture2D Tex2D = new Texture2D(2, 2);
+                Texture2D Tex2D = new Texture2D(2, 2, TextureFormat.RGBA32, false, false);
                 if (Tex2D.LoadImage(file))
                     return Tex2D;
             }