aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-04-17 09:37:12 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-04-17 09:37:12 +0200
commit907be0ab918a99c30c37c4abfe3e11722691f3bc (patch)
tree7875cfe0cb8259164d873852ba5fb6f3843d160b /src/client
parent97988a1044e0fce20a6ddc9e9cb6be395101cb2a (diff)
downloadminetest-907be0ab918a99c30c37c4abfe3e11722691f3bc.tar.gz
minetest-907be0ab918a99c30c37c4abfe3e11722691f3bc.tar.bz2
minetest-907be0ab918a99c30c37c4abfe3e11722691f3bc.zip
Remove an unused variable in Android Build
Diffstat (limited to 'src/client')
-rw-r--r--src/client/tile.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/tile.cpp b/src/client/tile.cpp
index 509da3c92..f0f1800b0 100644
--- a/src/client/tile.cpp
+++ b/src/client/tile.cpp
@@ -1126,7 +1126,6 @@ video::IImage* TextureSource::generateImage(const std::string &name)
inline u16 get_GL_major_version()
{
const GLubyte *gl_version = glGetString(GL_VERSION);
- std::string gl_ver((const char *)gl_version);
return (u16) (gl_version[0] - '0');
}