Remove no longer used code

This commit is contained in:
Jérôme Leclercq 2020-09-04 14:19:11 +02:00
parent a8b9a8c56d
commit d98cddcfe0
1 changed files with 0 additions and 9 deletions

View File

@ -262,15 +262,6 @@ namespace Nz::GL
return false; return false;
} }
// Retrieve OpenGL version
auto DecodeDigit = [](char c) -> int
{
if (c >= '0' && c <= '9')
return c - '0';
else
return -1;
};
GLint majorVersion = 0; GLint majorVersion = 0;
glGetIntegerv(GL_MAJOR_VERSION, &majorVersion); glGetIntegerv(GL_MAJOR_VERSION, &majorVersion);