forked from mirrors/principia
Move menu_bg.jpg and pkgmenubg.png into data-shared
This commit is contained in:
parent
92bffa596c
commit
2b3ea8819a
6 changed files with 3 additions and 11 deletions
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 336 KiB After Width: | Height: | Size: 336 KiB |
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue