mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
Android progressbar fix (#5601)
* Fix progressbar for Android Fixes #5599 Fixed #5403 * draw_load_screen: use texturesource this permits to unify texture loading code * scale progress bar * Add gl version check for GL_OES_texture_npot. This fixed the texture on loading screen * Remove two sanity checks pointed by @celeron55 * sfan5 comments + android ratio fixes
This commit is contained in:
@@ -27,8 +27,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
|
||||
void draw_load_screen(const std::wstring &text, IrrlichtDevice *device,
|
||||
gui::IGUIEnvironment *guienv, float dtime = 0, int percent = 0,
|
||||
bool clouds = true);
|
||||
gui::IGUIEnvironment *guienv, ITextureSource *tsrc, float dtime = 0,
|
||||
int percent = 0, bool clouds = true);
|
||||
|
||||
void draw_scene(video::IVideoDriver *driver, scene::ISceneManager *smgr,
|
||||
Camera &camera, Client &client, LocalPlayer *player,
|
||||
|
Reference in New Issue
Block a user