OpenGL3: Refuse 3.0 and 3.1

This commit is contained in:
numzero 2023-04-15 20:12:42 +03:00 committed by sfan5
parent 8cf02ea27f
commit 523590e16c
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ namespace video {
void COpenGL3Driver::initFeatures() {
assert (Version.Spec == OpenGLSpec::Compat);
assert (Version.Major >= 3);
if (Version.Major == 3)
assert (Version.Minor >= 2);
initExtensionsNew();
// COGLESCoreExtensionHandler::Feature