Android progressbar fix (#5601)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 16 Apr 2017 12:44:15 +0000 (14:44 +0200)
committerGitHub <noreply@github.com>
Sun, 16 Apr 2017 12:44:15 +0000 (14:44 +0200)
commit73de17afa821ccea84a119096b267e05a77db3ff
treeccb05343e11982058c8550533f6b54483be09474
parentd17636484dedab91b820667a82ec23cf6168ac7a
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
src/client.cpp
src/client/tile.cpp
src/drawscene.cpp
src/drawscene.h
src/game.cpp