Textures: Replace menu background fallback dirt_bg.png with empty sky texture
authorparamat <mat.gregory@virginmedia.com>
Wed, 20 Apr 2016 06:24:14 +0000 (07:24 +0100)
committerparamat <mat.gregory@virginmedia.com>
Thu, 21 Apr 2016 09:15:05 +0000 (10:15 +0100)
builtin/mainmenu/textures.lua
textures/base/pack/dirt_bg.png [deleted file]
textures/base/pack/menu_bg.png [new file with mode: 0644]

index 075f38ee073870c150776e911d8d3e990d4af170..dadbb093e8ad041c9004e9654670726ba0837c28 100644 (file)
@@ -179,7 +179,7 @@ function mm_texture.set_dirt_bg()
                end
        end
        
-       --use base pack
-       local minimalpath = defaulttexturedir .. "dirt_bg.png"
+       -- Use universal fallback texture in textures/base/pack
+       local minimalpath = defaulttexturedir .. "menu_bg.png"
        core.set_background("background", minimalpath, true, 128)
 end
diff --git a/textures/base/pack/dirt_bg.png b/textures/base/pack/dirt_bg.png
deleted file mode 100644 (file)
index 29df439..0000000
Binary files a/textures/base/pack/dirt_bg.png and /dev/null differ
diff --git a/textures/base/pack/menu_bg.png b/textures/base/pack/menu_bg.png
new file mode 100644 (file)
index 0000000..ed7e34f
Binary files /dev/null and b/textures/base/pack/menu_bg.png differ