1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Remove an unused variable in Android Build

This commit is contained in:
Loic Blot
2017-04-17 09:37:12 +02:00
parent 97988a1044
commit 907be0ab91

View File

@@ -1126,7 +1126,6 @@ video::IImage* TextureSource::generateImage(const std::string &name)
inline u16 get_GL_major_version() inline u16 get_GL_major_version()
{ {
const GLubyte *gl_version = glGetString(GL_VERSION); const GLubyte *gl_version = glGetString(GL_VERSION);
std::string gl_ver((const char *)gl_version);
return (u16) (gl_version[0] - '0'); return (u16) (gl_version[0] - '0');
} }