Move menu_bg.jpg and pkgmenubg.png into data-shared

This commit is contained in:
ROllerozxa 2024-02-27 00:11:07 +01:00
commit 2b3ea8819a
6 changed files with 3 additions and 11 deletions

Binary file not shown.

View file

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 336 KiB

After

Width:  |  Height:  |  Size: 336 KiB

Before After
Before After

View file

@ -234,14 +234,10 @@ menu_pkg::resume(void)
if (tex_overlay) tms_texture_free(tex_overlay);
_tex_bg = tms_texture_alloc();
#ifdef TMS_BACKEND_ANDROID
tms_texture_load_etc1(_tex_bg, "data-mobile/textures/pkgmenubg.pkm");
tms_texture_set_filtering(_tex_bg, GL_LINEAR);
#else
tms_texture_load(_tex_bg, "data-pc/textures/pkgmenubg.png");
tms_texture_load(_tex_bg, "data-shared/textures/pkgmenubg.png");
_tex_bg->format = GL_RGBA;
tms_texture_set_filtering(_tex_bg, GL_LINEAR);
#endif
tms_texture_upload(_tex_bg);
tex_overlay = tms_texture_alloc();

View file

@ -39,13 +39,9 @@ menu_shared::init()
{
tms::texture *tex = new tms::texture();
#ifdef TMS_BACKEND_ANDROID
tex->load_etc1("data-mobile/textures/menu/menu_bg.pkm");
#else
tex->gamma_correction = 0;
tex->load("data-pc/textures/menu/menu_bg.jpg");
tex->load("data-shared/textures/menu/menu_bg.jpg");
tex->colors = GL_RGB;
#endif
tex->upload();