Browse Source

Explicitly set no mip levels.

Halsafar 4 years ago
parent
commit
5abd470221
1 changed files with 1 additions and 1 deletions
  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;
             }