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

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