diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-16 14:44:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-16 14:44:15 +0200 |
commit | 73de17afa821ccea84a119096b267e05a77db3ff (patch) | |
tree | ccb05343e11982058c8550533f6b54483be09474 /src/drawscene.h | |
parent | d17636484dedab91b820667a82ec23cf6168ac7a (diff) | |
download | minetest-73de17afa821ccea84a119096b267e05a77db3ff.tar.gz minetest-73de17afa821ccea84a119096b267e05a77db3ff.tar.bz2 minetest-73de17afa821ccea84a119096b267e05a77db3ff.zip |
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
Diffstat (limited to 'src/drawscene.h')
-rw-r--r-- | src/drawscene.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drawscene.h b/src/drawscene.h index 4965a0889..4a71b1f4e 100644 --- a/src/drawscene.h +++ b/src/drawscene.h @@ -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, |