aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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');
}